|
||||||||||
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.email.EntityEmailHistory.Builder
public static final class EntityEmailHistory.Builder
A builder which can be used to construct EntityEmailHistory
instances. Enforces the constraints of the EntityEmailContract
.
Method Summary | |
---|---|
EntityEmailHistory |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityEmailHistory.Builder |
create()
|
static EntityEmailHistory.Builder |
create(EntityEmailHistoryContract 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 |
getEmailAddress()
Gets this EntityEmail 's email address. |
String |
getEmailAddressUnmasked()
Gets this EntityEmail 's unmasked email address. |
CodedAttributeHistory.Builder |
getEmailType()
Gets this EntityEmailHistory 's type code. |
String |
getEntityId()
Gets this id of the parent identity object. |
String |
getEntityTypeCode()
Gets this entityTypeCode of the EntityEmailContract 's object. |
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()
|
boolean |
isDefaultValue()
The default value for this object. |
boolean |
isSuppressEmail()
Returns a boolean value that determines if email fields should be suppressed. |
void |
setActive(boolean active)
|
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setDefaultValue(boolean defaultValue)
|
void |
setEmailAddress(String emailAddress)
|
void |
setEmailType(CodedAttributeHistory.Builder emailType)
|
void |
setEntityId(String entityId)
|
void |
setEntityTypeCode(String entityTypeCode)
|
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 EntityEmailHistory.Builder create()
public static EntityEmailHistory.Builder create(EntityEmailHistoryContract contract)
public EntityEmailHistory build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public String getEntityTypeCode()
EntityEmailContract
EntityEmailContract
's object.
getEntityTypeCode
in interface EntityEmailContract
EntityEmailContract
public String getEntityId()
EntityEmailContract
getEntityId
in interface EntityEmailContract
EntityEmailContract
public CodedAttributeHistory.Builder getEmailType()
EntityEmailHistoryContract
EntityEmailHistory
's type code.
getEmailType
in interface EntityEmailContract
getEmailType
in interface EntityEmailHistoryContract
EntityEmailHistory
, or null if none has been assigned.public String getEmailAddress()
EntityEmailContract
EntityEmail
's email address.
getEmailAddress
in interface EntityEmailContract
EntityEmail
, or null if none has been assigned.public String getEmailAddressUnmasked()
EntityEmailContract
EntityEmail
's unmasked email address.
getEmailAddressUnmasked
in interface EntityEmailContract
EntityEmail
, or null if none has been assigned.public boolean isSuppressEmail()
EntityEmailContract
isSuppressEmail
in interface EntityEmailContract
public boolean isDefaultValue()
Defaultable
isDefaultValue
in interface Defaultable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
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 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 setId(String id)
public void setEntityTypeCode(String entityTypeCode)
public void setEntityId(String entityId)
public void setEmailType(CodedAttributeHistory.Builder emailType)
public void setEmailAddress(String emailAddress)
public void setDefaultValue(boolean defaultValue)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |