Package org.kuali.rice.kew.impl.type
Class KewTypeBo
java.lang.Object
org.kuali.rice.kew.impl.type.KewTypeBo
- All Implemented Interfaces:
org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.active.MutableInactivatable,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract
@Entity
public class KewTypeBo
extends Object
implements org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract, org.kuali.rice.core.api.mo.common.active.MutableInactivatable
Kuali workflow type business object.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KewTypeBofrom(org.kuali.rice.kew.api.repository.type.KewTypeDefinition im) Converts 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 org.kuali.rice.kew.api.repository.type.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 interfaceorg.kuali.rice.core.api.mo.common.Identifiable- Returns:
- the type id
-
setId
- See Also:
-
getName
Returns the KEW type name.- Specified by:
getNamein interfaceorg.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract- Returns:
- the KEW type name
-
setName
- See Also:
-
getNamespace
Returns the name space.- Specified by:
getNamespacein interfaceorg.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract- Returns:
- the name space.
-
setNamespace
- See Also:
-
getServiceName
Returns the service name.- Specified by:
getServiceNamein interfaceorg.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract- Returns:
- the service name
-
setServiceName
- See Also:
-
isActive
public boolean isActive()Returns the status of this KEW type- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable- Returns:
- TRUE if the type is active, FALSE otherwise.
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceorg.kuali.rice.core.api.mo.common.active.MutableInactivatable- See Also:
-
getVersionNumber
Returns the version number.- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned- Returns:
- the version number.
-
setVersionNumber
- See Also:
-
getAttributes
Returns aListofKewTypeAttributeBo.- Specified by:
getAttributesin interfaceorg.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract- Returns:
- a
ListofKewTypeAttributeBo
-
setAttributes
- See Also:
-