org.kuali.rice.krms.impl.repository
Class ContextAttributeBo

java.lang.Object
  extended by org.kuali.rice.krms.impl.repository.BaseAttributeBo
      extended by org.kuali.rice.krms.impl.repository.ContextAttributeBo
All Implemented Interfaces:
Serializable, Identifiable, Versioned, BaseAttributeContract

@Entity
public class ContextAttributeBo
extends BaseAttributeBo
implements BaseAttributeContract, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krms.impl.repository.BaseAttributeBo
versionNumber
 
Constructor Summary
ContextAttributeBo()
           
 
Method Summary
 KrmsAttributeDefinitionContract getAttributeDefinition()
          Returns a KrmsAttributeDefinitionContract.
 ContextBo getContext()
           
 String getContextId()
           
 String getId()
          The unique identifier for an object.
 void setAttributeDefinition(KrmsAttributeDefinitionBo attributeDefinition)
           
 void setContext(ContextBo context)
           
 void setId(String id)
           
 
Methods inherited from class org.kuali.rice.krms.impl.repository.BaseAttributeBo
getAttributeDefinitionId, getValue, getVersionNumber, setValue, setVersionNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krms.api.repository.BaseAttributeContract
getAttributeDefinitionId, getValue
 

Constructor Detail

ContextAttributeBo

public ContextAttributeBo()
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

setId

public void setId(String id)

getContextId

public String getContextId()

getContext

public ContextBo getContext()

setContext

public void setContext(ContextBo context)

getAttributeDefinition

public KrmsAttributeDefinitionContract 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

setAttributeDefinition

public void setAttributeDefinition(KrmsAttributeDefinitionBo attributeDefinition)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.