|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.components.codehelper.dto.CodeHelperInElementDto
The input to the ICodeHelper, will consist of a List of instances of this class. The ICodeHelper will query the 'domainClassName' and use reflection to determine the fields to return. Additional criteria can be specified using instances of CriteriaElementDto. The properties domainClassName, codeFieldName and the descriptionFieldName are mandatory, for the ICodeHelper to work correctly.
| Constructor Summary | |
CodeHelperInElementDto()
Creates new CodeHelperInElementDto |
|
| Method Summary | |
void |
addCriteriaField(CriteriaElementDto criteriaField)
Add a criteriaField to the list |
void |
clearCriteriaFields()
Clear the list of criteriaField |
String |
getAppendBeginMarker()
Getter for property appendBeginMarker. |
String |
getAppendEndMarker()
Getter for property appendEndMarker. |
String |
getCode()
Getter for property code. |
String |
getCodeFieldName()
Getter for property codeFieldName. |
CriteriaElementDto |
getCriteriaField(int index)
Return a criteriaField at the specified position in the list |
int |
getCriteriaFieldCount()
Returns the number of criteriaField in the list |
CriteriaElementDto[] |
getCriteriaFields()
Returns an array of criteriaField |
String |
getDescriptionFieldName()
Getter for property descriptionFieldName. |
String |
getDomainClassName()
Getter for property domainClassName. |
boolean |
isAppendCodeAndDescription()
Getter for property appendCodeAndDescription. |
boolean |
removeCriteriaField(CriteriaElementDto criteriaField)
Remove a criteriaField from the list |
void |
setAppendBeginMarker(String appendBeginMarker)
Setter for property appendBeginMarker. |
void |
setAppendCodeAndDescription(boolean appendCodeAndDescription)
Setter for property appendCodeAndDescription. |
void |
setAppendEndMarker(String appendEndMarker)
Setter for property appendEndMarker. |
void |
setCode(String code)
Setter for property code. |
void |
setCodeFieldName(String codeFieldName)
Setter for property codeFieldName. |
void |
setCriteriaField(CriteriaElementDto criteriaField,
int index)
Add a criteriaField at the specified position in the list |
void |
setCriteriaFields(CriteriaElementDto[] criteriaFields)
Recreate the internal list with the input array of criteriaField |
void |
setDescriptionFieldName(String descriptionFieldName)
Setter for property descriptionFieldName. |
void |
setDomainClassName(String domainClassName)
Setter for property domainClassName. |
String |
toString()
Returns diagnostic information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CodeHelperInElementDto()
| Method Detail |
public String getCode()
public void setCode(String code)
code - New value of property code.public String getDomainClassName()
public void setDomainClassName(String domainClassName)
domainClassName - New value of property domainClassName.public String getCodeFieldName()
public void setCodeFieldName(String codeFieldName)
codeFieldName - New value of property codeFieldName.public String getDescriptionFieldName()
public void setDescriptionFieldName(String descriptionFieldName)
descriptionFieldName - New value of property descriptionFieldName.public void addCriteriaField(CriteriaElementDto criteriaField)
criteriaField - A criteriaField
public void setCriteriaField(CriteriaElementDto criteriaField,
int index)
criteriaField - A criteriaFieldindex - The position in the listpublic void setCriteriaFields(CriteriaElementDto[] criteriaFields)
criteriaFields - An array of criteriaFieldpublic void clearCriteriaFields()
public boolean removeCriteriaField(CriteriaElementDto criteriaField)
criteriaField - The criteriaField to be removed
public CriteriaElementDto getCriteriaField(int index)
index - The position in the list
public CriteriaElementDto[] getCriteriaFields()
public int getCriteriaFieldCount()
public boolean isAppendCodeAndDescription()
public void setAppendCodeAndDescription(boolean appendCodeAndDescription)
appendCodeAndDescription - New value of property appendCodeAndDescription.public String getAppendBeginMarker()
public void setAppendBeginMarker(String appendBeginMarker)
appendBeginMarker - New value of property appendBeginMarker.public String getAppendEndMarker()
public void setAppendEndMarker(String appendEndMarker)
appendEndMarker - New value of property appendEndMarker.public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||