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 |
---|---|
Object |
getIdentifier()
Returns the value of the identifier.
|
getRequiredIdentifier
public IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity, Object target)
IdPropertyIdentifierAccessor
for the given PersistentEntity
and
ConvertingPropertyAccessor
.entity
- must not be null.target
- must not be null.@Nullable public Object getIdentifier()
IdentifierAccessor
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.