org.kuali.rice.krms.api.repository.language
Class NaturalLanguageTemplateAttribute

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateAttribute
All Implemented Interfaces:
Serializable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, BaseAttributeContract, NaturalLanguageTemplateAttributeContract

public final class NaturalLanguageTemplateAttribute
extends AbstractDataTransferObject
implements NaturalLanguageTemplateAttributeContract

Generated using JVM arguments -DNOT_BLANK=name Concrete model object implementation, immutable. Instances can be (un)marshalled to and from XML.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
NaturalLanguageTemplateAttributeContract, Serialized Form

Nested Class Summary
static class NaturalLanguageTemplateAttribute.Builder
          A builder which can be used to construct NaturalLanguageTemplateAttribute instances.
 
Method Summary
 KrmsAttributeDefinition getAttributeDefinition()
          Returns a KrmsAttributeDefinitionContract.
 String getAttributeDefinitionId()
          Returns the id of the attribute definition.
 String getId()
          The unique identifier for an object.
 String getNaturalLanguageTemplateId()
          This is the NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute
 String getValue()
          Returns the value of the attribute
 Long getVersionNumber()
          Returns the version number for this object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getNaturalLanguageTemplateId

public String getNaturalLanguageTemplateId()
Description copied from interface: NaturalLanguageTemplateAttributeContract
This is the NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute

The NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute

Specified by:
getNaturalLanguageTemplateId in interface NaturalLanguageTemplateAttributeContract
Returns:
the NaturalLanguageTemplateId of the NaturalLanguageTemplateAttribute

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:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

getValue

public String getValue()
Description copied from interface: BaseAttributeContract
Returns the value of the attribute

Specified by:
getValue in interface BaseAttributeContract
Returns:
the value of the attribute

getAttributeDefinitionId

public String getAttributeDefinitionId()
Description copied from interface: BaseAttributeContract
Returns the id of the attribute definition.

The attribute definition contains metadata about the attribute. This is a required field and may not be null or blank. Many attribute instances may share the same attribute definition.

Specified by:
getAttributeDefinitionId in interface BaseAttributeContract
Returns:
the attribute definition id

getAttributeDefinition

public KrmsAttributeDefinition getAttributeDefinition()
Description copied from interface: BaseAttributeContract
Returns a KrmsAttributeDefinitionContract.

This is the object referred to by the attributeDefinitionId. The full object is also kept here for performance purposes. This is because the name of the attribute is referenced often for resolving name / value attribute pairs.

Specified by:
getAttributeDefinition in interface BaseAttributeContract
Returns:
the attribute definition

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.