public static final class EntityEmail.Builder extends Object implements Serializable, ModelBuilder, EntityEmailContract
EntityEmail
instances. Enforces the constraints of the EntityEmailContract
.Modifier and Type | Method and Description |
---|---|
EntityEmail |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityEmail.Builder |
create() |
static EntityEmail.Builder |
create(EntityEmailContract contract) |
String |
getEmailAddress()
Gets this
EntityEmail 's email address. |
String |
getEmailAddressUnmasked()
Gets this
EntityEmail 's unmasked email address. |
CodedAttribute.Builder |
getEmailType()
Gets this
EntityEmail 's type code. |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getEntityTypeCode()
Gets this entityTypeCode of the
EntityEmailContract 's 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.
|
boolean |
isSuppressEmail()
Returns a boolean value that determines if email fields should be suppressed.
|
void |
setActive(boolean active) |
void |
setDefaultValue(boolean defaultValue) |
void |
setEmailAddress(String emailAddress) |
void |
setEmailType(CodedAttribute.Builder emailType) |
void |
setEntityId(String entityId) |
void |
setEntityTypeCode(String entityTypeCode) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setVersionNumber(Long versionNumber) |
public static EntityEmail.Builder create()
public static EntityEmail.Builder create(EntityEmailContract contract)
public EntityEmail 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 CodedAttribute.Builder getEmailType()
EntityEmailContract
EntityEmail
's type code.getEmailType
in interface EntityEmailContract
EntityEmail
, 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 void setEntityTypeCode(String entityTypeCode)
public void setEntityId(String entityId)
public void setEmailType(CodedAttribute.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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.