Class KewTypeAttributeBo

java.lang.Object
org.kuali.rice.kew.impl.type.KewTypeAttributeBo
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.kew.api.repository.type.KewTypeAttributeContract

@Entity public class KewTypeAttributeBo extends Object implements org.kuali.rice.kew.api.repository.type.KewTypeAttributeContract, org.kuali.rice.core.api.mo.common.active.MutableInactivatable
Kuali workflow type attribute business object.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • KewTypeAttributeBo

      public KewTypeAttributeBo()
      Default constructor
  • Method Details

    • to

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

      public static KewTypeAttributeBo from(org.kuali.rice.kew.api.repository.type.KewTypeAttribute im, KewTypeBo kewType)
      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 attribute id.
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
      Returns:
      the type attribute id
    • setId

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

      public Integer getSequenceNumber()
      Returns the sequence number.
      Specified by:
      getSequenceNumber in interface org.kuali.rice.kew.api.repository.type.KewTypeAttributeContract
      Returns:
      the sequence number
    • setSequenceNumber

      public void setSequenceNumber(Integer sequenceNumber)
      See Also:
    • isActive

      public boolean isActive()
      Returns the status of the KEW type attribute.
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
      Returns:
      TRUE if the KEW type attribute 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.
      Returns:
      the version number
    • setVersionNumber

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

      public KewAttributeDefinitionBo getAttributeDefinition()
      Specified by:
      getAttributeDefinition in interface org.kuali.rice.kew.api.repository.type.KewTypeAttributeContract
      Returns:
      a KewAttributeDefinitionBo
    • setAttributeDefinition

      public void setAttributeDefinition(KewAttributeDefinitionBo attributeDefinition)
      See Also:
    • getAttributeDefinitionId

      public String getAttributeDefinitionId()
      Returns the attribute definition id from the internal attribute definition parameter.
      Specified by:
      getAttributeDefinitionId in interface org.kuali.rice.kew.api.repository.type.KewTypeAttributeContract
      Returns:
      the attribute definition id, or null if the attribute definition is not set.
    • getType

      public KewTypeBo getType()
    • setType

      public void setType(KewTypeBo type)
    • getTypeId

      public String getTypeId()
      Specified by:
      getTypeId in interface org.kuali.rice.kew.api.repository.type.KewTypeAttributeContract