|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.creation.model.CreationPartsBean
public class CreationPartsBean
Metadata for each completion part.
Constructor Summary | |
---|---|
CreationPartsBean(CreationBean myOwner,
Part myPart)
Constructor that takes the parent bean and an associated Part object. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compares this object with the specified object for order. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
String |
getBrowseText()
|
String |
getCreateText()
|
String |
getDirective()
|
FieldCompletion |
getFieldCompletion()
|
String |
getHelpText()
|
Integer |
getMaxEntries()
|
Integer |
getMinEntries()
|
CreationBean |
getOwner()
|
Part |
getPart()
|
String |
getSearchText()
|
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isBrowse()
|
boolean |
isCreate()
|
boolean |
isFreeTextAllowed()
|
boolean |
isFreeTextEntry()
|
boolean |
isMinMaxAllowed()
|
boolean |
isRequired()
|
boolean |
isSearch()
|
boolean |
isSingleEntry()
|
void |
setBrowse(boolean browse)
|
void |
setBrowseText(String browseText)
|
void |
setCreate(boolean create)
|
void |
setCreateText(String createText)
|
void |
setDirective(String directive)
|
void |
setFieldCompletion(FieldCompletion fieldCompletion)
|
void |
setHelpText(String helpText)
|
void |
setMaxEntries(int maxEntries)
|
void |
setMinEntries(int minEntries)
|
void |
setRequired(boolean required)
|
void |
setSearch(boolean search)
|
void |
setSearchText(String searchText)
|
void |
setSingleEntry(boolean singleEntry)
|
String |
toString()
Returns a string representation of the object. |
ErrorCollection |
validateAndAdjust(ErrorCollection toPopulate)
Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any
validation errors that have been found. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreationPartsBean(CreationBean myOwner, Part myPart) throws DBException
myOwner
- CompletionBean the parent bean.myPart
- Part the associated part.
DBException
- upon Part query error.Method Detail |
---|
public CreationBean getOwner()
public Part getPart()
public void setFieldCompletion(FieldCompletion fieldCompletion)
public void setDirective(String directive)
public void setHelpText(String helpText)
public void setSingleEntry(boolean singleEntry)
public void setBrowse(boolean browse)
public void setCreate(boolean create)
public void setRequired(boolean required)
public void setSearch(boolean search)
public void setBrowseText(String browseText)
public void setCreateText(String createText)
public void setSearchText(String searchText)
public void setMinEntries(int minEntries)
public void setMaxEntries(int maxEntries)
public FieldCompletion getFieldCompletion()
public boolean isFreeTextEntry()
public Integer getMinEntries()
public Integer getMaxEntries()
public String getDirective()
public String getHelpText()
public boolean isSingleEntry()
public boolean isBrowse()
public boolean isCreate()
public boolean isRequired()
public boolean isSearch()
public String getBrowseText()
public String getCreateText()
public String getSearchText()
public boolean isFreeTextAllowed() throws DBException
DBException
public boolean isMinMaxAllowed() throws DBException
DBException
public int compareTo(Object o)
compareTo
in interface Comparable
o
- the Object to be compared.
public String toString()
toString
in class Object
public ErrorCollection validateAndAdjust(ErrorCollection toPopulate)
ActionErrors
object that encapsulates any
validation errors that have been found.
toPopulate
- The ErrorCollection we are using to populate with errors
upon validation errors.
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |