org.kuali.rice.krms.api.repository
Class BaseAttribute

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

public abstract class BaseAttribute
extends AbstractDataTransferObject
implements BaseAttributeContract

abstract base model object for KRMS Attribute immutables.

See Also:
Serialized Form

Nested Class Summary
static class BaseAttribute.Builder
          This builder is used to construct the fields that BaseAttribute is responsible for.
static class BaseAttribute.Elements
          A protected class which exposes constants which define the XML element names to use when this object is marshalled to XML.
 
Nested classes/interfaces inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
AbstractDataTransferObject.Constants
 
Constructor Summary
protected BaseAttribute()
          This constructor should only be called by the private default constructor of subclasses, which should only be used by JAXB and never invoked directly.
protected BaseAttribute(BaseAttribute.Builder builder)
          Constructs a BaseAttribute from the given builder.
 
Method Summary
 KrmsAttributeDefinition getAttributeDefinition()
          This is the definition of the attribute
 String getAttributeDefinitionId()
          This is the id of the definition of the attribute.
 String getId()
          The unique identifier for an object.
 String getValue()
          This is the value of the attribute
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseAttribute

protected BaseAttribute()
This constructor should only be called by the private default constructor of subclasses, which should only be used by JAXB and never invoked directly.


BaseAttribute

protected BaseAttribute(BaseAttribute.Builder builder)
Constructs a BaseAttribute from the given builder. This constructor is protected and should only ever be invoked from the builder.

Parameters:
builder - the Builder from which to construct the BaseAttribute
Method Detail

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

getAttributeDefinitionId

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

It identifies the attribute definition

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

getValue

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

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

getAttributeDefinition

public KrmsAttributeDefinition getAttributeDefinition()
Description copied from interface: BaseAttributeContract
This is the definition of the attribute

Specified by:
getAttributeDefinition in interface BaseAttributeContract


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