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 Details

    • KewTypeBo

      public KewTypeBo()
  • Method Details

    • to

      public static org.kuali.rice.kew.api.repository.type.KewTypeDefinition to(KewTypeBo bo)
      Converts a mutable bo to it's immutable counterpart
      Parameters:
      bo - the mutable business object
      Returns:
      the immutable object
    • from

      public static KewTypeBo from(org.kuali.rice.kew.api.repository.type.KewTypeDefinition im)
      Converts a immutable object to it's mutable bo counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo
    • getId

      public String getId()
      Returns the type id.
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
      Returns:
      the type id
    • setId

      public void setId(String id)
      See Also:
    • getName

      public String getName()
      Returns the KEW type name.
      Specified by:
      getName in interface org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract
      Returns:
      the KEW type name
    • setName

      public void setName(String name)
      See Also:
    • getNamespace

      public String getNamespace()
      Returns the name space.
      Specified by:
      getNamespace in interface org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract
      Returns:
      the name space.
    • setNamespace

      public void setNamespace(String namespace)
      See Also:
    • getServiceName

      public String getServiceName()
      Returns the service name.
      Specified by:
      getServiceName in interface org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract
      Returns:
      the service name
    • setServiceName

      public void setServiceName(String serviceName)
      See Also:
    • isActive

      public boolean isActive()
      Returns the status of this KEW type
      Specified by:
      isActive in interface org.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:
      setActive in interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
      See Also:
    • getVersionNumber

      public Long getVersionNumber()
      Returns the version number.
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
      Returns:
      the version number.
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
      See Also:
    • getAttributes

      public List<KewTypeAttributeBo> getAttributes()
      Returns a List of KewTypeAttributeBo.
      Specified by:
      getAttributes in interface org.kuali.rice.kew.api.repository.type.KewTypeDefinitionContract
      Returns:
      a List of KewTypeAttributeBo
    • setAttributes

      public void setAttributes(List<KewTypeAttributeBo> attributes)
      See Also: