org.kuali.rice.kns.datadictionary
Class CollectionDefinition

java.lang.Object
  extended by org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
      extended by org.kuali.rice.kns.datadictionary.CollectionDefinition
All Implemented Interfaces:
Serializable, DataDictionaryDefinition, org.springframework.beans.factory.InitializingBean

public class CollectionDefinition
extends DataDictionaryDefinitionBase

A single Collection attribute definition in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a specific Collection attribute of an entry.

See Also:
Serialized Form

Field Summary
protected  String description
           
protected  String elementLabel
           
protected  String label
           
protected  String name
           
private static long serialVersionUID
           
protected  String shortLabel
           
protected  String summary
           
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
CollectionDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Directly validate simple fields, call completeValidation on Definition fields.
 String getDescription()
           
 String getElementLabel()
          Gets the elementLabel attribute.
 String getLabel()
           
 String getName()
           
 String getShortLabel()
           
 String getSummary()
           
 void setDescription(String description)
          The description element is used to provide a long description of the attribute or collection.
 void setElementLabel(String elementLabel)
          The elementLabel defines the name to be used for a single object within the collection.
 void setLabel(String label)
           
 void setName(String name)
           
 void setShortLabel(String shortLabel)
           
 void setSummary(String summary)
          The summary element is used to provide a short description of the attribute or collection.
 String toString()
           
 
Methods inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
afterPropertiesSet, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

protected String name

label

protected String label

shortLabel

protected String shortLabel

elementLabel

protected String elementLabel

summary

protected String summary

description

protected String description
Constructor Detail

CollectionDefinition

public CollectionDefinition()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getShortLabel

public String getShortLabel()
Returns:
the shortLabel, or the label if no shortLabel has been set

setShortLabel

public void setShortLabel(String shortLabel)

getElementLabel

public String getElementLabel()
Gets the elementLabel attribute.

Returns:
Returns the elementLabel.

setElementLabel

public void setElementLabel(String elementLabel)
The elementLabel defines the name to be used for a single object within the collection. For example: "Address" may be the name of one object within the "Addresses" collection.


getSummary

public String getSummary()

setSummary

public void setSummary(String summary)
The summary element is used to provide a short description of the attribute or collection. This is designed to be used for help purposes.


getDescription

public String getDescription()

setDescription

public void setDescription(String description)
The description element is used to provide a long description of the attribute or collection. This is designed to be used for help purposes.


completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Directly validate simple fields, call completeValidation on Definition fields.

Parameters:
rootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definition
otherBusinessObjectClass - other stuff required to complete validation
See Also:
DataDictionaryEntry.completeValidation()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.