|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation.Builder
public static final class EntityAffiliation.Builder
A builder which can be used to construct EntityAffiliation
instances. Enforces the constraints of the EntityAffiliationContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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)
public void setId(String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |