@Entity public class TypeTypeRelationBo extends Object implements org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
TypeTypeRelation.| Constructor and Description |
|---|
TypeTypeRelationBo()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static TypeTypeRelationBo |
from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
Converts a immutable
TypeTypeRelation to its mutable TypeTypeRelationBo counterpart. |
KrmsTypeBo |
getFromType() |
String |
getFromTypeId() |
String |
getId() |
org.kuali.rice.krms.api.repository.typerelation.RelationshipType |
getRelationshipType() |
Integer |
getSequenceNumber() |
KrmsTypeBo |
getToType() |
String |
getToTypeId() |
Long |
getVersionNumber() |
boolean |
isActive() |
void |
setActive(boolean active)
Sets the value of active on this builder to the given value.
|
void |
setFromType(KrmsTypeBo fromType) |
void |
setFromTypeId(String fromTypeId)
Sets the value of fromTypeId on this builder to the given value.
|
void |
setId(String id)
Sets the value of id on this builder to the given value.
|
void |
setRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType)
Sets the value of relationshipType on this builder to the given value.
|
void |
setSequenceNumber(Integer sequenceNumber)
Sets the value of sequenceNumber on this builder to the given value.
|
void |
setToType(KrmsTypeBo toType) |
void |
setToTypeId(String toTypeId)
Sets the value of toTypeId on this builder to the given value.
|
void |
setVersionNumber(Long versionNumber)
Sets the value of versionNumber on this builder to the given value.
|
static org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation |
to(TypeTypeRelationBo typeTypeRelationBo)
Converts a mutable
TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation. |
public TypeTypeRelationBo()
public String getFromTypeId()
getFromTypeId in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContractpublic String getToTypeId()
getToTypeId in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContractpublic org.kuali.rice.krms.api.repository.typerelation.RelationshipType getRelationshipType()
getRelationshipType in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContractpublic Integer getSequenceNumber()
getSequenceNumber in interface org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationContractpublic String getId()
getId in interface org.kuali.rice.core.api.mo.common.Identifiablepublic boolean isActive()
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versionedpublic void setFromTypeId(String fromTypeId)
fromTypeId - the fromTypeId value to set.public void setToTypeId(String toTypeId)
toTypeId - the toTypeId value to set.public void setRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType)
relationshipType - the relationshipType value to set.public void setSequenceNumber(Integer sequenceNumber)
sequenceNumber - the sequenceNumber value to set.public void setId(String id)
id - the id value to set.public void setActive(boolean active)
active - the active value to set.public void setVersionNumber(Long versionNumber)
versionNumber - the versionNumber value to set.public static org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.typeTypeRelationBo - the mutable business object.TypeTypeRelation the immutable object.public static TypeTypeRelationBo from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.typeTypeRelation - the immutable object.TypeTypeRelationBo the mutable TypeTypeRelationBo.public KrmsTypeBo getFromType()
public void setFromType(KrmsTypeBo fromType)
public KrmsTypeBo getToType()
public void setToType(KrmsTypeBo toType)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.