public class TypeTypeRelationBo extends PersistableBusinessObjectBase implements TypeTypeRelationContract
TypeTypeRelation.extension| Constructor and Description |
|---|
TypeTypeRelationBo()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static TypeTypeRelationBo |
from(TypeTypeRelation typeTypeRelation)
Converts a immutable
TypeTypeRelation to its mutable TypeTypeRelationBo counterpart. |
KrmsTypeBo |
getFromType() |
String |
getFromTypeId() |
String |
getId() |
RelationshipType |
getRelationshipType() |
SequenceAccessorService |
getSequenceAccessorService() |
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(RelationshipType relationshipType)
Sets the value of relationshipType on this builder to the given value.
|
void |
setSequenceAccessorService(SequenceAccessorService sas)
Set the SequenceAccessorService, useful for testing.
|
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 TypeTypeRelation |
to(TypeTypeRelationBo typeTypeRelationBo)
Converts a mutable
TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation. |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectIdtoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringpublic TypeTypeRelationBo()
public String getFromTypeId()
getFromTypeId in interface TypeTypeRelationContractpublic String getToTypeId()
getToTypeId in interface TypeTypeRelationContractpublic RelationshipType getRelationshipType()
getRelationshipType in interface TypeTypeRelationContractpublic Integer getSequenceNumber()
getSequenceNumber in interface 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.VersionedgetVersionNumber in class PersistableBusinessObjectBasepublic void setFromTypeId(String fromTypeId)
fromTypeId - the fromTypeId value to set.public void setToTypeId(String toTypeId)
toTypeId - the toTypeId value to set.public void setRelationshipType(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)
setVersionNumber in interface PersistableBusinessObjectsetVersionNumber in class PersistableBusinessObjectBaseversionNumber - the versionNumber value to set.public static TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.typeTypeRelationBo - the mutable business object.TypeTypeRelation the immutable object.public static TypeTypeRelationBo from(TypeTypeRelation typeTypeRelation)
TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.typeTypeRelation - the immutable object.TypeTypeRelationBo the mutable TypeTypeRelationBo.public void setSequenceAccessorService(SequenceAccessorService sas)
sas - SequenceAccessorService to use for getNewId.public SequenceAccessorService getSequenceAccessorService()
public KrmsTypeBo getFromType()
public void setFromType(KrmsTypeBo fromType)
public KrmsTypeBo getToType()
public void setToType(KrmsTypeBo toType)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.