public static final class EntityAffiliation.Builder extends Object implements Serializable, ModelBuilder, EntityAffiliationContract
EntityAffiliation
instances. Enforces the constraints of the EntityAffiliationContract
.Modifier and Type | Method and Description |
---|---|
EntityAffiliation |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityAffiliation.Builder |
create() |
static EntityAffiliation.Builder |
create(EntityAffiliationContract contract) |
EntityAffiliationType.Builder |
getAffiliationType()
Gets this
KimEntityAffiliation 's type. |
String |
getCampusCode()
Gets this
KimEntityAffiliation 's campus code. |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getId()
The unique identifier for an object.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
boolean |
isDefaultValue()
The default value for this object.
|
void |
setActive(boolean active) |
void |
setAffiliationType(EntityAffiliationType.Builder affiliationType) |
void |
setCampusCode(String campusCode) |
void |
setDefaultValue(boolean defaultValue) |
void |
setEntityId(String entityId) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setVersionNumber(Long versionNumber) |
public static EntityAffiliation.Builder create()
public static EntityAffiliation.Builder create(EntityAffiliationContract contract)
public EntityAffiliation build()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityAffiliationContract
getEntityId
in interface EntityAffiliationContract
EntityAddressContract
public EntityAffiliationType.Builder getAffiliationType()
EntityAffiliationContract
KimEntityAffiliation
's type.getAffiliationType
in interface EntityAffiliationContract
KimEntityAffiliation
, or null if none has been assigned.public String getCampusCode()
EntityAffiliationContract
KimEntityAffiliation
's campus code.getCampusCode
in interface EntityAffiliationContract
KimEntityAffiliation
, or null if none has been assigned.public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isDefaultValue()
Defaultable
isDefaultValue
in interface Defaultable
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public String getId()
Identifiable
getId
in interface Identifiable
public void setEntityId(String entityId)
public void setAffiliationType(EntityAffiliationType.Builder affiliationType)
public void setCampusCode(String campusCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setDefaultValue(boolean defaultValue)
public void setActive(boolean active)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.