Class MaintainableCollectionDefinition

All Implemented Interfaces:
Serializable, Cloneable, CollectionDefinitionI, Copyable, DataDictionaryDefinition, DictionaryBean

@Deprecated public class MaintainableCollectionDefinition extends MaintainableItemDefinition implements CollectionDefinitionI
Deprecated.
Use collections inside of MaintenanceDocumentView.
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.
See Also:
  • Field Details

  • Constructor Details

    • MaintainableCollectionDefinition

      public MaintainableCollectionDefinition()
      Deprecated.
  • Method Details

    • getBusinessObjectClass

      public Class<? extends BusinessObject> getBusinessObjectClass()
      Deprecated.
      Specified by:
      getBusinessObjectClass in interface CollectionDefinitionI
      Returns:
      businessObjectClass
    • setBusinessObjectClass

      public void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
      Deprecated.
      The BusinessObject class used for each row of this collection.
    • getMaintainableFields

      public List<MaintainableFieldDefinition> getMaintainableFields()
      Deprecated.
      Returns:
      Collection of all lookupField MaintainableFieldDefinitions associated with this MaintainableCollectionDefinition, in the order in which they were added
    • getFields

      public List<? extends FieldDefinitionI> getFields()
      Deprecated.
      Specified by:
      getFields in interface CollectionDefinitionI
    • completeValidation

      public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
      Deprecated.
      Directly validate simple fields, call completeValidation on Definition fields.
      Specified by:
      completeValidation in interface DataDictionaryDefinition
      Overrides:
      completeValidation in class DataDictionaryDefinitionBase
      See Also:
      • invalid reference
        org.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class MaintainableItemDefinition
      See Also:
    • getSourceClassName

      public Class<? extends BusinessObject> getSourceClassName()
      Deprecated.
    • setSourceClassName

      public void setSourceClassName(Class<? extends BusinessObject> sourceClass)
      Deprecated.
      BusinessObject class which should be used for multiple value lookups for this collection.
    • getIncludeAddLine

      public boolean getIncludeAddLine()
      Deprecated.
      Specified by:
      getIncludeAddLine in interface CollectionDefinitionI
    • setIncludeAddLine

      public void setIncludeAddLine(boolean includeAddLine)
      Deprecated.
      Control whether an "add" line should be included at the top of this collection.
    • getMaintainableCollections

      public List<MaintainableCollectionDefinition> getMaintainableCollections()
      Deprecated.
      Returns:
      Collection of all lookupField MaintainableCollectionDefinitions associated with this MaintainableCollectionDefinition, in the order in which they were added
    • getCollections

      public List<? extends CollectionDefinitionI> getCollections()
      Deprecated.
      Specified by:
      getCollections in interface CollectionDefinitionI
    • getSummaryFields

      public List<? extends FieldDefinitionI> getSummaryFields()
      Deprecated.
      Specified by:
      getSummaryFields in interface CollectionDefinitionI
      Returns:
      Collection of all SummaryFieldDefinitions associated with this SummaryFieldDefinition, in the order in which they were added
    • hasSummaryField

      public boolean hasSummaryField(String key)
      Deprecated.
      Specified by:
      hasSummaryField in interface CollectionDefinitionI
    • isIncludeMultipleLookupLine

      public boolean isIncludeMultipleLookupLine()
      Deprecated.
    • setIncludeMultipleLookupLine

      public void setIncludeMultipleLookupLine(boolean includeMultipleLookupLine)
      Deprecated.
      Set whether the multiple lookup line (and link) should appear above this collection.
    • getSummaryTitle

      public String getSummaryTitle()
      Deprecated.
      Specified by:
      getSummaryTitle in interface CollectionDefinitionI
    • setSummaryTitle

      public void setSummaryTitle(String overrideSummaryName)
      Deprecated.
      summaryTitle is the label of the summary
    • getAttributeToHighlightOnDuplicateKey

      public String getAttributeToHighlightOnDuplicateKey()
      Deprecated.
    • setAttributeToHighlightOnDuplicateKey

      public 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.
    • dissallowDuplicateKey

      public boolean dissallowDuplicateKey()
      Deprecated.
    • getDuplicateIdentificationFields

      public List<MaintainableFieldDefinition> getDuplicateIdentificationFields()
      Deprecated.
    • setMaintainableFields

      public void setMaintainableFields(List<MaintainableFieldDefinition> maintainableFields)
      Deprecated.
      The list of fields to include in this collection.
    • setMaintainableCollections

      public void setMaintainableCollections(List<MaintainableCollectionDefinition> maintainableCollections)
      Deprecated.
      The list of sub-collections to include in this collection.
    • setSummaryFields

      public void setSummaryFields(List<MaintainableFieldDefinition> summaryFields)
      Deprecated.
      The summaryFields element defines a set of summaryField elements.
    • setDuplicateIdentificationFields

      public 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.
    • isAlwaysAllowCollectionDeletion

      public boolean isAlwaysAllowCollectionDeletion()
      Deprecated.
      Specified by:
      isAlwaysAllowCollectionDeletion in interface CollectionDefinitionI
    • setAlwaysAllowCollectionDeletion

      public void setAlwaysAllowCollectionDeletion(boolean alwaysAllowCollectionDeletion)
      Deprecated.