public class BaseJavaAttributeBo extends PersistableBusinessObjectBase implements BaseAttributeContract
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.
extension, versionNumber
Constructor and Description |
---|
BaseJavaAttributeBo() |
Modifier and Type | Method and Description |
---|---|
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) |
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
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
public BaseJavaAttributeBo()
public KrmsAttributeDefinitionContract getAttributeDefinition()
BaseAttributeContract
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.
getAttributeDefinition
in interface BaseAttributeContract
public String getAttributeDefinitionId()
BaseAttributeContract
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.
getAttributeDefinitionId
in interface BaseAttributeContract
public String getId()
Identifiable
getId
in interface Identifiable
public String getValue()
BaseAttributeContract
getValue
in interface BaseAttributeContract
public void setAttributeDefinition(org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionBo attributeDefinition)
public void setAttributeDefinitionId(String attributeDefinitionId)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.