|
||||||||||
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.external.EntityExternalIdentifierHistory.Builder
public static final class EntityExternalIdentifierHistory.Builder
A builder which can be used to construct EntityExternalIdentifierHistory
instances. Enforces the constraints of the EntityExternalIdentifierContract
.
Method Summary | |
---|---|
EntityExternalIdentifierHistory |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityExternalIdentifierHistory.Builder |
create()
|
static EntityExternalIdentifierHistory.Builder |
create(EntityExternalIdentifierHistoryContract contract)
|
org.joda.time.DateTime |
getActiveFromDate()
Gets the date for which the record become active. |
org.joda.time.DateTime |
getActiveToDate()
Gets the date for which the record become inactive. |
String |
getEntityId()
Gets this id of the parent identity object. |
String |
getExternalId()
Gets this EntityExternalIdentifierContract 's external id. |
EntityExternalIdentifierTypeHistory.Builder |
getExternalIdentifierType()
Gets this EntityExternalIdentifierHistoryContract 's type. |
String |
getExternalIdentifierTypeCode()
Gets this EntityExternalIdentifierContract 's type code. |
Long |
getHistoryId()
|
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 |
isActive(org.joda.time.DateTime activeAsOf)
Returns if the record is active for a given Time. |
boolean |
isActiveNow()
|
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setEntityId(String entityId)
|
void |
setExternalId(String externalId)
|
void |
setExternalIdentifierType(EntityExternalIdentifierTypeHistory.Builder externalIdentifierType)
|
void |
setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
|
void |
setHistoryId(Long historyId)
|
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 EntityExternalIdentifierHistory.Builder create()
public static EntityExternalIdentifierHistory.Builder create(EntityExternalIdentifierHistoryContract contract)
public EntityExternalIdentifierHistory build()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityExternalIdentifierContract
getEntityId
in interface EntityExternalIdentifierContract
EntityEmailContract
public String getExternalIdentifierTypeCode()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's type code.
getExternalIdentifierTypeCode
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, or null if none has been assigned.public EntityExternalIdentifierTypeHistory.Builder getExternalIdentifierType()
EntityExternalIdentifierHistoryContract
EntityExternalIdentifierHistoryContract
's type.
getExternalIdentifierType
in interface EntityExternalIdentifierContract
getExternalIdentifierType
in interface EntityExternalIdentifierHistoryContract
EntityExternalIdentifierHistoryContract
, or null if none has been assigned.public String getExternalId()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's external id.
getExternalId
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, or null if none has been assigned.public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public String getId()
Identifiable
getId
in interface Identifiable
public Long getHistoryId()
getHistoryId
in interface Historical
public boolean isActiveNow()
isActiveNow
in interface Historical
public boolean isActive(org.joda.time.DateTime activeAsOf)
InactivatableFromTo
isActive
in interface InactivatableFromTo
public org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate
in interface InactivatableFromTo
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate
in interface InactivatableFromTo
public void setHistoryId(Long historyId)
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public void setEntityId(String entityId)
public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
public void setExternalIdentifierType(EntityExternalIdentifierTypeHistory.Builder externalIdentifierType)
public void setExternalId(String externalId)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setId(String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |