Class TypeTypeRelationBo

java.lang.Object
org.kuali.rice.krms.impl.repository.TypeTypeRelationBo
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract

@Entity public class TypeTypeRelationBo extends Object implements org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
The mutable implementation of the @{link TypeTypeRelationContract} interface, the counterpart to the immutable implementation TypeTypeRelation.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • TypeTypeRelationBo

      public TypeTypeRelationBo()
      Default Constructor
  • Method Details

    • getFromTypeId

      public String getFromTypeId()
      Specified by:
      getFromTypeId in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract
    • getToTypeId

      public String getToTypeId()
      Specified by:
      getToTypeId in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract
    • getRelationshipType

      public org.kuali.rice.krms.api.repository.typerelation.RelationshipType getRelationshipType()
      Specified by:
      getRelationshipType in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract
    • getSequenceNumber

      public Integer getSequenceNumber()
      Specified by:
      getSequenceNumber in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract
    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • setFromTypeId

      public void setFromTypeId(String fromTypeId)
      Sets the value of fromTypeId on this builder to the given value.
      Parameters:
      fromTypeId - the fromTypeId value to set.
    • setToTypeId

      public void setToTypeId(String toTypeId)
      Sets the value of toTypeId on this builder to the given value.
      Parameters:
      toTypeId - the toTypeId value to set.
    • setRelationshipType

      public void setRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType)
      Sets the value of relationshipType on this builder to the given value.
      Parameters:
      relationshipType - the relationshipType value to set.
    • setSequenceNumber

      public void setSequenceNumber(Integer sequenceNumber)
      Sets the value of sequenceNumber on this builder to the given value.
      Parameters:
      sequenceNumber - the sequenceNumber value to set.
    • setId

      public void setId(String id)
      Sets the value of id on this builder to the given value.
      Parameters:
      id - the id value to set.
    • setActive

      public void setActive(boolean active)
      Sets the value of active on this builder to the given value.
      Parameters:
      active - the active value to set.
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
      Sets the value of versionNumber on this builder to the given value.
      Parameters:
      versionNumber - the versionNumber value to set.
    • to

      public static org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
      Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.
      Parameters:
      typeTypeRelationBo - the mutable business object.
      Returns:
      a TypeTypeRelation the immutable object.
    • from

      public static TypeTypeRelationBo from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
      Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.
      Parameters:
      typeTypeRelation - the immutable object.
      Returns:
      a TypeTypeRelationBo the mutable TypeTypeRelationBo.
    • getFromType

      public KrmsTypeBo getFromType()
    • setFromType

      public void setFromType(KrmsTypeBo fromType)
    • getToType

      public KrmsTypeBo getToType()
    • setToType

      public void setToType(KrmsTypeBo toType)