@Entity public class EntityExternalIdentifierBo extends DataObjectBase implements EntityExternalIdentifierContract
objectId, versionNumber| Constructor and Description |
|---|
EntityExternalIdentifierBo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
decryptedExternalId() |
protected void |
decryptExternalId() |
protected void |
encryptExternalId() |
protected void |
evaluateExternalIdentifierType() |
static EntityExternalIdentifierBo |
from(EntityExternalIdentifier immutable)
Creates a EntityExternalIdentifierBo business object from an immutable representation of a
EntityExternalIdentifier.
|
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getExternalId()
Gets this
EntityExternalIdentifierContract's external id. |
EntityExternalIdentifierTypeBo |
getExternalIdentifierType()
Gets this
EntityExternalIdentifierContract's type. |
String |
getExternalIdentifierTypeCode()
Gets this
EntityExternalIdentifierContract's type code. |
String |
getId()
The unique identifier for an object.
|
protected void |
prePersist()
Default implementation of the JPA
PrePersist hook which generates the unique objectId for this
persistable business object if it does not already have one. |
protected void |
preUpdate()
Default implementation of the JPA
PreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. |
void |
setEntityId(String entityId) |
void |
setExternalId(String externalId) |
void |
setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType) |
void |
setExternalIdentifierTypeCode(String externalIdentifierTypeCode) |
void |
setId(String id) |
static EntityExternalIdentifier |
to(EntityExternalIdentifierBo bo) |
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, setExtensionObject, setObjectId, setVersionNumber, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumbergetObjectIdpublic EntityExternalIdentifierBo()
public static EntityExternalIdentifier to(EntityExternalIdentifierBo bo)
public static EntityExternalIdentifierBo from(EntityExternalIdentifier immutable)
immutable - immutable EntityExternalIdentifierprotected void prePersist()
DataObjectBasePrePersist hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.prePersist to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB #beforeInsert(PersistenceBroker) hook.
prePersist in class DataObjectBaseprotected void preUpdate()
DataObjectBasePreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.preUpdate to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB #beforeUpdate(PersistenceBroker) hook.
preUpdate in class DataObjectBaseprotected void encryptExternalId()
protected void decryptExternalId()
protected void evaluateExternalIdentifierType()
protected String decryptedExternalId()
public void setExternalId(String externalId)
public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
public void setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType)
public EntityExternalIdentifierTypeBo getExternalIdentifierType()
EntityExternalIdentifierContractEntityExternalIdentifierContract's type.getExternalIdentifierType in interface EntityExternalIdentifierContractEntityExternalIdentifierContract, or null if none has been assigned.public String getExternalId()
EntityExternalIdentifierContractEntityExternalIdentifierContract's external id.getExternalId in interface EntityExternalIdentifierContractEntityExternalIdentifierContract, or null if none has been assigned.public String getId()
IdentifiablegetId in interface Identifiablepublic String getEntityId()
EntityExternalIdentifierContractgetEntityId in interface EntityExternalIdentifierContractEntityEmailContractpublic void setEntityId(String entityId)
public String getExternalIdentifierTypeCode()
EntityExternalIdentifierContractEntityExternalIdentifierContract's type code.getExternalIdentifierTypeCode in interface EntityExternalIdentifierContractEntityExternalIdentifierContract, or null if none has been assigned.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.