Package org.kuali.rice.kew.impl.type
Class KewTypeBo
java.lang.Object
org.kuali.rice.kew.impl.type.KewTypeBo
- All Implemented Interfaces:
Inactivatable,MutableInactivatable,Identifiable,Versioned,KewTypeDefinitionContract
@Entity
public class KewTypeBo
extends Object
implements KewTypeDefinitionContract, MutableInactivatable
Kuali workflow type business object.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KewTypeBoConverts a immutable object to it's mutable bo counterpartReturns aListofKewTypeAttributeBo.getId()Returns the type id.getName()Returns the KEW type name.Returns the name space.Returns the service name.Returns the version number.booleanisActive()Returns the status of this KEW typevoidsetActive(boolean active) voidsetAttributes(List<KewTypeAttributeBo> attributes) voidvoidvoidsetNamespace(String namespace) voidsetServiceName(String serviceName) voidsetVersionNumber(Long versionNumber) static KewTypeDefinitionConverts a mutable bo to it's immutable counterpart
-
Constructor Details
-
KewTypeBo
public KewTypeBo()
-
-
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 id.- Specified by:
getIdin interfaceIdentifiable- Returns:
- the type id
-
setId
- See Also:
-
getName
Returns the KEW type name.- Specified by:
getNamein interfaceKewTypeDefinitionContract- Returns:
- the KEW type name
-
setName
- See Also:
-
getNamespace
Returns the name space.- Specified by:
getNamespacein interfaceKewTypeDefinitionContract- Returns:
- the name space.
-
setNamespace
- See Also:
-
getServiceName
Returns the service name.- Specified by:
getServiceNamein interfaceKewTypeDefinitionContract- Returns:
- the service name
-
setServiceName
- See Also:
-
isActive
public boolean isActive()Returns the status of this KEW type- Specified by:
isActivein interfaceInactivatable- Returns:
- TRUE if the type is active, FALSE otherwise.
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceMutableInactivatable- See Also:
-
getVersionNumber
Returns the version number.- Specified by:
getVersionNumberin interfaceVersioned- Returns:
- the version number.
-
setVersionNumber
- See Also:
-
getAttributes
Returns aListofKewTypeAttributeBo.- Specified by:
getAttributesin interfaceKewTypeDefinitionContract- Returns:
- a
ListofKewTypeAttributeBo
-
setAttributes
- See Also:
-