|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.kns.datadictionary.MaintainableItemDefinition
org.kuali.rice.kns.datadictionary.MaintainableCollectionDefinition
@Deprecated public class MaintainableCollectionDefinition
The maintainableCollection element defines a set of data fields, nested collections, summaryFields and duplicateIdentificationsFields. JSTL: maintainableCollection is a Map which is accessed using a key of the name of the maintainableCollection. Each entry contains the following keys and values: Key** **Value** collection true name name of collection dataObjectClass name of collection class name is the name of the collection dataObjectClass is the class name of the objects in the collection sourceClassName is the class name of the BO used in a lookup sourceAttributeName is the name of the attribute which returns the collection includeAddLine is true if the user is given the ability to add multiple lines. includeMultipleLookupLine whether to render a quickfinder icon for multiple value lookups on the collection. Defaults to true summaryTitle is the label of the summary attributeToHighlightOnDuplicateKey is the name of an attribute to highlight if two records in the collection are the same based on the duplicateIdentificationFields element.
| Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
|---|
id |
| Constructor Summary | |
|---|---|
MaintainableCollectionDefinition()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Deprecated. Directly validate simple fields, call completeValidation on Definition fields. |
boolean |
dissallowDuplicateKey()
Deprecated. |
String |
getAttributeToHighlightOnDuplicateKey()
Deprecated. |
Class<? extends BusinessObject> |
getBusinessObjectClass()
Deprecated. |
List<? extends CollectionDefinitionI> |
getCollections()
Deprecated. |
List<MaintainableFieldDefinition> |
getDuplicateIdentificationFields()
Deprecated. |
List<? extends FieldDefinitionI> |
getFields()
Deprecated. |
boolean |
getIncludeAddLine()
Deprecated. |
List<MaintainableCollectionDefinition> |
getMaintainableCollections()
Deprecated. |
List<MaintainableFieldDefinition> |
getMaintainableFields()
Deprecated. |
Class<? extends BusinessObject> |
getSourceClassName()
Deprecated. |
List<? extends FieldDefinitionI> |
getSummaryFields()
Deprecated. |
String |
getSummaryTitle()
Deprecated. |
boolean |
hasSummaryField(String key)
Deprecated. |
boolean |
isAlwaysAllowCollectionDeletion()
Deprecated. |
boolean |
isIncludeMultipleLookupLine()
Deprecated. |
void |
setAlwaysAllowCollectionDeletion(boolean alwaysAllowCollectionDeletion)
Deprecated. |
void |
setAttributeToHighlightOnDuplicateKey(String attributeToHighlightOnDuplicate)
Deprecated. attributeToHighlightOnDuplicateKey is the name of an attribute to highlight if two records in the collection are the same based on the duplicateIdentificationFields element. |
void |
setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
Deprecated. The BusinessObject class used for each row of this collection. |
void |
setDuplicateIdentificationFields(List<MaintainableFieldDefinition> duplicateIdentificationFields)
Deprecated. The duplicateIdentificationFields element is used to define a set of fields that will be used to determine if two records in the collection are duplicates. |
void |
setIncludeAddLine(boolean includeAddLine)
Deprecated. Control whether an "add" line should be included at the top of this collection. |
void |
setIncludeMultipleLookupLine(boolean includeMultipleLookupLine)
Deprecated. Set whether the multiple lookup line (and link) should appear above this collection. |
void |
setMaintainableCollections(List<MaintainableCollectionDefinition> maintainableCollections)
Deprecated. The list of sub-collections to include in this collection. |
void |
setMaintainableFields(List<MaintainableFieldDefinition> maintainableFields)
Deprecated. The list of fields to include in this collection. |
void |
setSourceClassName(Class<? extends BusinessObject> sourceClass)
Deprecated. BusinessObject class which should be used for multiple value lookups for this collection. |
void |
setSummaryFields(List<MaintainableFieldDefinition> summaryFields)
Deprecated. The summaryFields element defines a set of summaryField elements. |
void |
setSummaryTitle(String overrideSummaryName)
Deprecated. summaryTitle is the label of the summary |
String |
toString()
Deprecated. |
| Methods inherited from class org.kuali.rice.kns.datadictionary.MaintainableItemDefinition |
|---|
getName, setName |
| Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
|---|
afterPropertiesSet, getId, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.kns.datadictionary.CollectionDefinitionI |
|---|
getName |
| Field Detail |
|---|
protected Class<? extends BusinessObject> businessObjectClass
protected Class<? extends BusinessObject> sourceClassName
protected String summaryTitle
protected String attributeToHighlightOnDuplicateKey
protected boolean includeAddLine
protected boolean includeMultipleLookupLine
protected Map<String,MaintainableFieldDefinition> maintainableFieldMap
protected Map<String,MaintainableCollectionDefinition> maintainableCollectionMap
protected Map<String,MaintainableFieldDefinition> summaryFieldMap
protected Map<String,MaintainableFieldDefinition> duplicateIdentificationFieldMap
protected List<MaintainableFieldDefinition> maintainableFields
protected List<MaintainableCollectionDefinition> maintainableCollections
protected List<MaintainableFieldDefinition> summaryFields
protected List<MaintainableFieldDefinition> duplicateIdentificationFields
| Constructor Detail |
|---|
public MaintainableCollectionDefinition()
| Method Detail |
|---|
public Class<? extends BusinessObject> getBusinessObjectClass()
getBusinessObjectClass in interface CollectionDefinitionIpublic void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
public List<MaintainableFieldDefinition> getMaintainableFields()
public List<? extends FieldDefinitionI> getFields()
getFields in interface CollectionDefinitionI
public void completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
completeValidation in interface DataDictionaryDefinitionrootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass - other stuff required to complete validationorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)public String toString()
toString in class MaintainableItemDefinitionObject.toString()public Class<? extends BusinessObject> getSourceClassName()
public void setSourceClassName(Class<? extends BusinessObject> sourceClass)
public boolean getIncludeAddLine()
getIncludeAddLine in interface CollectionDefinitionIpublic void setIncludeAddLine(boolean includeAddLine)
public List<MaintainableCollectionDefinition> getMaintainableCollections()
public List<? extends CollectionDefinitionI> getCollections()
getCollections in interface CollectionDefinitionIpublic List<? extends FieldDefinitionI> getSummaryFields()
getSummaryFields in interface CollectionDefinitionIpublic boolean hasSummaryField(String key)
hasSummaryField in interface CollectionDefinitionIpublic boolean isIncludeMultipleLookupLine()
public void setIncludeMultipleLookupLine(boolean includeMultipleLookupLine)
public String getSummaryTitle()
getSummaryTitle in interface CollectionDefinitionIpublic void setSummaryTitle(String overrideSummaryName)
public String getAttributeToHighlightOnDuplicateKey()
public void setAttributeToHighlightOnDuplicateKey(String attributeToHighlightOnDuplicate)
public boolean dissallowDuplicateKey()
public List<MaintainableFieldDefinition> getDuplicateIdentificationFields()
public void setMaintainableFields(List<MaintainableFieldDefinition> maintainableFields)
public void setMaintainableCollections(List<MaintainableCollectionDefinition> maintainableCollections)
public void setSummaryFields(List<MaintainableFieldDefinition> summaryFields)
public void setDuplicateIdentificationFields(List<MaintainableFieldDefinition> duplicateIdentificationFields)
public boolean isAlwaysAllowCollectionDeletion()
isAlwaysAllowCollectionDeletion in interface CollectionDefinitionIpublic void setAlwaysAllowCollectionDeletion(boolean alwaysAllowCollectionDeletion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||