Class ReferenceObjectBindingBo
java.lang.Object
org.kuali.rice.krms.impl.repository.ReferenceObjectBindingBo
- 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.reference.ReferenceObjectBindingContract
@Entity
public class ReferenceObjectBindingBo
extends Object
implements org.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
The mutable implementation of the @{link ReferenceObjectBindingContract} interface, the counterpart to the immutable implementation
ReferenceObjectBinding.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceObjectBindingBofrom(org.kuali.rice.krms.api.repository.reference.ReferenceObjectBinding referenceObjectBinding) Converts a immutableReferenceObjectBindingto its mutableReferenceObjectBindingBocounterpart.getId()booleanisActive()voidsetActive(boolean active) Sets the value of active on this builder to the given value.voidsetCollectionName(String collectionName) Sets the value of collectionName on this builder to the given value.voidSets the value of id on this builder to the given value.voidsetKrmsDiscriminatorType(String krmsDiscriminatorType) Sets the value of krmsDiscriminatorType on this builder to the given value.voidsetKrmsObjectId(String krmsObjectId) Sets the value of krmsObjectId on this builder to the given value.voidsetNamespace(String namespace) Sets the value of namespace on this builder to the given value.voidsetReferenceDiscriminatorType(String referenceDiscriminatorType) Sets the value of referenceDiscriminatorType on this builder to the given value.voidsetReferenceObjectId(String referenceObjectId) Sets the value of referenceObjectId on this builder to the given value.voidsetVersionNumber(Long versionNumber) Sets the value of versionNumber on this builder to the given value.static org.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingto(ReferenceObjectBindingBo referenceObjectBindingBo) Converts a mutableReferenceObjectBindingBoto its immutable counterpart,ReferenceObjectBinding.
-
Constructor Details
-
ReferenceObjectBindingBo
public ReferenceObjectBindingBo()Default Constructor
-
-
Method Details
-
getCollectionName
- Specified by:
getCollectionNamein interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getKrmsDiscriminatorType
- Specified by:
getKrmsDiscriminatorTypein interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getKrmsObjectId
- Specified by:
getKrmsObjectIdin interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getNamespace
- Specified by:
getNamespacein interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getReferenceDiscriminatorType
- Specified by:
getReferenceDiscriminatorTypein interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getReferenceObjectId
- Specified by:
getReferenceObjectIdin interfaceorg.kuali.rice.krms.api.repository.reference.ReferenceObjectBindingContract
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
setCollectionName
Sets the value of collectionName on this builder to the given value.- Parameters:
collectionName- the collectionName value to set.
-
setKrmsDiscriminatorType
Sets the value of krmsDiscriminatorType on this builder to the given value.- Parameters:
krmsDiscriminatorType- the krmsDiscriminatorType value to set.
-
setKrmsObjectId
Sets the value of krmsObjectId on this builder to the given value.- Parameters:
krmsObjectId- the krmsObjectId value to set.
-
setNamespace
Sets the value of namespace on this builder to the given value.- Parameters:
namespace- the namespace value to set.
-
setReferenceDiscriminatorType
Sets the value of referenceDiscriminatorType on this builder to the given value.- Parameters:
referenceDiscriminatorType- the referenceDiscriminatorType value to set.
-
setReferenceObjectId
Sets the value of referenceObjectId on this builder to the given value.- Parameters:
referenceObjectId- the referenceObjectId value to set.
-
setId
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
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.reference.ReferenceObjectBinding to(ReferenceObjectBindingBo referenceObjectBindingBo) Converts a mutableReferenceObjectBindingBoto its immutable counterpart,ReferenceObjectBinding.- Parameters:
referenceObjectBindingBo- the mutable business object.- Returns:
- a
ReferenceObjectBindingthe immutable object.
-
from
public static ReferenceObjectBindingBo from(org.kuali.rice.krms.api.repository.reference.ReferenceObjectBinding referenceObjectBinding) Converts a immutableReferenceObjectBindingto its mutableReferenceObjectBindingBocounterpart.- Parameters:
referenceObjectBinding- the immutable object.- Returns:
- a
ReferenceObjectBindingBothe mutable ReferenceObjectBindingBo.
-