|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.completion.model.CompletionPartsBean
public class CompletionPartsBean
Metadata for each completion part.
Constructor Summary | |
---|---|
CompletionPartsBean(CompletionBean 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 |
getDirective()
|
FieldCompletion |
getFieldCompletion()
|
String |
getHelpText()
|
Integer |
getMaxEntries()
|
Integer |
getMinEntries()
|
CompletionBean |
getOwner()
|
Part |
getPart()
|
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isFreeTextAllowed()
|
boolean |
isFreeTextEntry()
|
boolean |
isMinMaxAllowed()
|
boolean |
isSingleEntry()
|
void |
setDirective(String directive)
|
void |
setFieldCompletion(FieldCompletion fieldCompletion)
|
void |
setHelpText(String helpText)
|
void |
setMaxEntries(int maxEntries)
|
void |
setMinEntries(int minEntries)
|
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 CompletionPartsBean(CompletionBean myOwner, Part myPart) throws DBException
myOwner
- CompletionBean the parent bean.myPart
- Part the associated part.
DBException
- upon Part query error.Method Detail |
---|
public CompletionBean 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 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 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 |