public class IdPropertyIdentifierAccessor extends TargetAwareIdentifierAccessor
IdentifierAccessor.| Constructor and Description |
|---|
IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity,
Object target)
Creates a new
IdPropertyIdentifierAccessor for the given PersistentEntity and
ConvertingPropertyAccessor. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Object> |
getIdentifier()
Returns the value of the identifier.
|
getRequiredIdentifierpublic IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity, Object target)
IdPropertyIdentifierAccessor for the given PersistentEntity and
ConvertingPropertyAccessor.entity - must not be null.target - must not be null.public Optional<Object> getIdentifier()
IdentifierAccessorCopyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.