Package org.kuali.rice.kew.impl.type
Class KewTypeAttributeBo
java.lang.Object
org.kuali.rice.kew.impl.type.KewTypeAttributeBo
- All Implemented Interfaces:
Inactivatable,MutableInactivatable,Identifiable,KewTypeAttributeContract
@Entity
public class KewTypeAttributeBo
extends Object
implements KewTypeAttributeContract, MutableInactivatable
Kuali workflow type attribute business object.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KewTypeAttributeBofrom(KewTypeAttribute im, KewTypeBo kewType) Converts a immutable object to it's mutable bo counterpartReturns theKewAttributeDefinitionBo.Returns the attribute definition id from the internal attribute definition parameter.getId()Returns the type attribute id.Returns the sequence number.getType()Returns the version number.booleanisActive()Returns the status of the KEW type attribute.voidsetActive(boolean active) voidsetAttributeDefinition(KewAttributeDefinitionBo attributeDefinition) voidvoidsetSequenceNumber(Integer sequenceNumber) voidvoidsetVersionNumber(Long versionNumber) static KewTypeAttributeto(KewTypeAttributeBo bo) Converts a mutable bo to it's immutable counterpart
-
Constructor Details
-
KewTypeAttributeBo
public KewTypeAttributeBo()Default constructor
-
-
Method Details
-
to
Converts a mutable bo to it's immutable counterpart- Parameters:
bo- the mutable business object- Returns:
- the immutable object
-
from
Converts a immutable object to it's mutable bo counterpart- Parameters:
im- immutable object- Returns:
- the mutable bo
-
getId
Returns the type attribute id.- Specified by:
getIdin interfaceIdentifiable- Returns:
- the type attribute id
-
setId
- See Also:
-
getSequenceNumber
Returns the sequence number.- Specified by:
getSequenceNumberin interfaceKewTypeAttributeContract- Returns:
- the sequence number
-
setSequenceNumber
- See Also:
-
isActive
public boolean isActive()Returns the status of the KEW type attribute.- Specified by:
isActivein interfaceInactivatable- Returns:
- TRUE if the KEW type attribute is active, FALSE otherwise
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceMutableInactivatable- See Also:
-
getVersionNumber
Returns the version number.- Returns:
- the version number
-
setVersionNumber
- See Also:
-
getAttributeDefinition
Returns theKewAttributeDefinitionBo.- Specified by:
getAttributeDefinitionin interfaceKewTypeAttributeContract- Returns:
- a
KewAttributeDefinitionBo
-
setAttributeDefinition
- See Also:
-
getAttributeDefinitionId
Returns the attribute definition id from the internal attribute definition parameter.- Specified by:
getAttributeDefinitionIdin interfaceKewTypeAttributeContract- Returns:
- the attribute definition id, or null if the attribute definition is not set.
-
getType
-
setType
-
getTypeId
- Specified by:
getTypeIdin interfaceKewTypeAttributeContract
-