org.kuali.rice.krms.api.repository.term
Class TermDefinition
java.lang.Object
   org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.core.api.mo.AbstractDataTransferObject
       org.kuali.rice.krms.api.repository.term.TermDefinition
org.kuali.rice.krms.api.repository.term.TermDefinition
- All Implemented Interfaces: 
- Serializable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, TermDefinitionContract
- public final class TermDefinition 
- extends AbstractDataTransferObject- implements TermDefinitionContract
Immutable DTO for Terms.  Construction must be done via the TermDefinition.Builder inner class.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
 
 
 
 
getId
public String getId()
- Description copied from interface: Identifiable
- The unique identifier for an object.  This can be null.
 
- 
- Specified by:
- getIdin interface- Identifiable
 
- 
- Returns:
- the termId.  May be null if this TermDefinitionhasn't been persisted.
 
getSpecification
public TermSpecificationDefinition getSpecification()
- 
- Specified by:
- getSpecificationin interface- TermDefinitionContract
 
- 
- Returns:
- the specification.  Will never be null.
 
getDescription
public String getDescription()
- 
- Specified by:
- getDescriptionin interface- TermDefinitionContract
 
- 
- Returns:
- the description for this TermDefinitionContract
 
getParameters
public List<TermParameterDefinition> getParameters()
- 
- Specified by:
- getParametersin interface- TermDefinitionContract
 
- 
- Returns:
- the parameters.  May be empty, but will never be null.
 
getVersionNumber
public Long getVersionNumber()
- Description copied from interface: Versioned
- Returns the version number for this object.  In general, this value should only
 be null if the object has not yet been stored to a persistent data store.
 This version number is generally used for the purposes of optimistic locking.
 
- 
- Specified by:
- getVersionNumberin interface- Versioned
 
- 
- Returns:
- the version number, or null if one has not been assigned yet
- See Also:
- Versioned.getVersionNumber()
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.