public static final class EntityExternalIdentifier.Builder extends Object implements Serializable, ModelBuilder, EntityExternalIdentifierContract
EntityExternalIdentifier
instances. Enforces the constraints of the EntityExternalIdentifierContract
.Modifier and Type | Method and Description |
---|---|
EntityExternalIdentifier |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityExternalIdentifier.Builder |
create() |
static EntityExternalIdentifier.Builder |
create(EntityExternalIdentifierContract contract) |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getExternalId()
Gets this
EntityExternalIdentifierContract 's external id. |
EntityExternalIdentifierType.Builder |
getExternalIdentifierType()
Gets this
EntityExternalIdentifierContract 's type. |
String |
getExternalIdentifierTypeCode()
Gets this
EntityExternalIdentifierContract 's type code. |
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.
|
void |
setEntityId(String entityId) |
void |
setExternalId(String externalId) |
void |
setExternalIdentifierType(EntityExternalIdentifierType.Builder externalIdentifierType) |
void |
setExternalIdentifierTypeCode(String externalIdentifierTypeCode) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setVersionNumber(Long versionNumber) |
public static EntityExternalIdentifier.Builder create()
public static EntityExternalIdentifier.Builder create(EntityExternalIdentifierContract contract)
public EntityExternalIdentifier 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 EntityExternalIdentifierType.Builder getExternalIdentifierType()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's type.getExternalIdentifierType
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, 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 void setEntityId(String entityId)
public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
public void setExternalIdentifierType(EntityExternalIdentifierType.Builder externalIdentifierType)
public void setExternalId(String externalId)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.