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

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.krms.impl.repository.BaseJavaAttributeBo
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject, BaseAttributeContract

public class BaseJavaAttributeBo
extends PersistableBusinessObjectBase
implements BaseAttributeContract

This class contains the common elements of a KRMS attribute.

Attributes provide a way to attach custom data to an entity based on that entity's type. Rules, Actions, Contexts, Agendas and Term Resolvers have their own specific attribute types. This class contains their common fields.

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
BaseJavaAttributeBo()
           
 
Method Summary
 KrmsAttributeDefinitionContract getAttributeDefinition()
          Returns a KrmsAttributeDefinitionContract.
 String getAttributeDefinitionId()
          Returns the id of the attribute definition.
 String getId()
          The unique identifier for an object.
 String getValue()
          Returns the value of the attribute
 void setAttributeDefinition(org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionBo attributeDefinition)
           
 void setAttributeDefinitionId(String attributeDefinitionId)
           
 void setId(String id)
           
 void setValue(String value)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

BaseJavaAttributeBo

public BaseJavaAttributeBo()
Method Detail

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

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

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

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

setAttributeDefinition

public void setAttributeDefinition(org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionBo attributeDefinition)

setAttributeDefinitionId

public void setAttributeDefinitionId(String attributeDefinitionId)

setId

public void setId(String id)

setValue

public void setValue(String value)


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