org.kuali.rice.krms.impl.repository
Class BaseAttributeBo
java.lang.Object
org.kuali.rice.krms.impl.repository.BaseAttributeBo
- All Implemented Interfaces:
- Identifiable, Versioned, BaseAttributeContract
- Direct Known Subclasses:
- ActionAttributeBo, AgendaAttributeBo, ContextAttributeBo, RuleAttributeBo, TermResolverAttributeBo
@MappedSuperclass
public abstract class BaseAttributeBo
- extends Object
- implements BaseAttributeContract, Versioned
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)
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.core.api.mo.common.Identifiable |
getId |
versionNumber
protected Long versionNumber
BaseAttributeBo
public BaseAttributeBo()
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
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
setValue
public void setValue(String value)
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
setVersionNumber
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.