public static final class ReferenceObjectBinding.Builder extends Object implements Serializable, ModelBuilder, ReferenceObjectBindingContract
ReferenceObjectBinding
instances. Enforces the constraints of the ReferenceObjectBindingContract
.Modifier and Type | Method and Description |
---|---|
ReferenceObjectBinding |
build()
Builds an instance of a ReferenceObjectBinding based on the current state of the builder.
|
static ReferenceObjectBinding.Builder |
create(ReferenceObjectBindingContract contract) |
static ReferenceObjectBinding.Builder |
create(String krmsDiscriminatorType,
String krmsObjectId,
String namespace,
String referenceDiscriminatorType,
String referenceObjectId) |
String |
getCollectionName()
This is the CollectionName of the ReferenceObjectBinding
|
String |
getId()
The unique identifier for an object.
|
String |
getKrmsDiscriminatorType()
This is the KrmsDiscriminatorType of the ReferenceObjectBinding
|
String |
getKrmsObjectId()
This is the KrmsObjectId of the ReferenceObjectBinding
|
String |
getNamespace()
This is the namespace of the ReferenceObjectBinding
|
String |
getReferenceDiscriminatorType()
This is the ReferenceDiscriminatorType of the ReferenceObjectBinding
|
String |
getReferenceObjectId()
This is the ReferenceObjectId of the ReferenceObjectBinding
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the value of active on this builder to the given value.
|
void |
setCollectionName(String collectionName)
Sets the value of collectionName on this builder to the given value.
|
void |
setId(String id)
Sets the value of id on this builder to the given value.
|
void |
setKrmsDiscriminatorType(String krmsDiscriminatorType)
Sets the value of krmsDiscriminatorType on this builder to the given value.
|
void |
setKrmsObjectId(String krmsObjectId)
Sets the value of krmsObjectId on this builder to the given value.
|
void |
setNamespace(String namespace)
Sets the value of namespace on this builder to the given value.
|
void |
setReferenceDiscriminatorType(String referenceDiscriminatorType)
Sets the value of referenceDiscriminatorType on this builder to the given value.
|
void |
setReferenceObjectId(String referenceObjectId)
Sets the value of referenceObjectId on this builder to the given value.
|
void |
setVersionNumber(Long versionNumber)
Sets the value of versionNumber on this builder to the given value.
|
public static ReferenceObjectBinding.Builder create(String krmsDiscriminatorType, String krmsObjectId, String namespace, String referenceDiscriminatorType, String referenceObjectId)
public static ReferenceObjectBinding.Builder create(ReferenceObjectBindingContract contract)
public ReferenceObjectBinding build()
build
in interface ModelBuilder
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public String getCollectionName()
ReferenceObjectBindingContract
The CollectionName of the ReferenceObjectBinding
getCollectionName
in interface ReferenceObjectBindingContract
public String getId()
Identifiable
getId
in interface Identifiable
public String getKrmsDiscriminatorType()
ReferenceObjectBindingContract
The KrmsDiscriminatorType of the ReferenceObjectBinding
getKrmsDiscriminatorType
in interface ReferenceObjectBindingContract
public String getKrmsObjectId()
ReferenceObjectBindingContract
The KrmsObjectId of the ReferenceObjectBinding
getKrmsObjectId
in interface ReferenceObjectBindingContract
public String getNamespace()
ReferenceObjectBindingContract
The namespace of the ReferenceObjectBinding
getNamespace
in interface ReferenceObjectBindingContract
public String getReferenceDiscriminatorType()
ReferenceObjectBindingContract
The ReferenceDiscriminatorType of the ReferenceObjectBinding
getReferenceDiscriminatorType
in interface ReferenceObjectBindingContract
public String getReferenceObjectId()
ReferenceObjectBindingContract
The ReferenceObjectId of the ReferenceObjectBinding
getReferenceObjectId
in interface ReferenceObjectBindingContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setActive(boolean active)
active
- the active value to set.public void setCollectionName(String collectionName)
collectionName
- the collectionName value to set.public void setId(String id)
id
- the id value to set., may be null, representing the Object has not been persisted, but must not be blank.IllegalArgumentException
- if the id is blankpublic void setKrmsDiscriminatorType(String krmsDiscriminatorType)
krmsDiscriminatorType
- the krmsDiscriminatorType value to set., must not be null or blankIllegalArgumentException
- if the krmsDiscriminatorType is null or blankpublic void setKrmsObjectId(String krmsObjectId)
krmsObjectId
- the krmsObjectId value to set., must not be null or blankIllegalArgumentException
- if the krmsObjectId is null or blankpublic void setNamespace(String namespace)
namespace
- the namespace value to set., must not be null or blankIllegalArgumentException
- if the namespace is null or blankpublic void setReferenceDiscriminatorType(String referenceDiscriminatorType)
referenceDiscriminatorType
- the referenceDiscriminatorType value to set., must not be null or blankIllegalArgumentException
- if the referenceDiscriminatorType is null or blankpublic void setReferenceObjectId(String referenceObjectId)
referenceObjectId
- the referenceObjectId value to set., must not be null or blankIllegalArgumentException
- if the referenceObjectId is null or blankpublic void setVersionNumber(Long versionNumber)
versionNumber
- the versionNumber value to set.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.