public static final class EntityPrivacyPreferences.Builder extends Object implements Serializable, ModelBuilder, EntityPrivacyPreferencesContract
EntityPrivacyPreferences
instances. Enforces the constraints of the EntityPrivacyPreferencesContract
.Modifier and Type | Method and Description |
---|---|
EntityPrivacyPreferences |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityPrivacyPreferences.Builder |
create(EntityPrivacyPreferencesContract contract) |
static EntityPrivacyPreferences.Builder |
create(String entityId) |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isSuppressAddress()
This is value designating if Entity Address should be suppressed.
|
boolean |
isSuppressEmail()
This is value designating if Entity Email should be suppressed.
|
boolean |
isSuppressName()
This is value designating if Entity Name should be suppressed.
|
boolean |
isSuppressPersonal()
This is value designating if Entity Personal information should be suppressed.
|
boolean |
isSuppressPhone()
This is value designating if Entity Phone should be suppressed.
|
void |
setEntityId(String entityId) |
void |
setObjectId(String objectId) |
void |
setSuppressAddress(boolean suppressAddress) |
void |
setSuppressEmail(boolean suppressEmail) |
void |
setSuppressName(boolean suppressName) |
void |
setSuppressPersonal(boolean suppressPersonal) |
void |
setSuppressPhone(boolean suppressPhone) |
void |
setVersionNumber(Long versionNumber) |
public static EntityPrivacyPreferences.Builder create(String entityId)
public static EntityPrivacyPreferences.Builder create(EntityPrivacyPreferencesContract contract)
public EntityPrivacyPreferences build()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityPrivacyPreferencesContract
getEntityId
in interface EntityPrivacyPreferencesContract
EntityPrivacyPreferencesContract
public boolean isSuppressName()
EntityPrivacyPreferencesContract
This is a boolean value that shows if identity names should be suppressed or not.
isSuppressName
in interface EntityPrivacyPreferencesContract
public boolean isSuppressAddress()
EntityPrivacyPreferencesContract
This is a boolean value that shows if identity addresses should be suppressed or not.
isSuppressAddress
in interface EntityPrivacyPreferencesContract
public boolean isSuppressEmail()
EntityPrivacyPreferencesContract
This is a boolean value that shows if identity emails should be suppressed or not.
isSuppressEmail
in interface EntityPrivacyPreferencesContract
public boolean isSuppressPhone()
EntityPrivacyPreferencesContract
This is a boolean value that shows if identity phones should be suppressed or not.
isSuppressPhone
in interface EntityPrivacyPreferencesContract
public boolean isSuppressPersonal()
EntityPrivacyPreferencesContract
This is a boolean value that shows if identity personal information should be suppressed or not.
isSuppressPersonal
in interface EntityPrivacyPreferencesContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setEntityId(String entityId)
public void setSuppressName(boolean suppressName)
public void setSuppressAddress(boolean suppressAddress)
public void setSuppressEmail(boolean suppressEmail)
public void setSuppressPhone(boolean suppressPhone)
public void setSuppressPersonal(boolean suppressPersonal)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.