public class IdPropertyIdentifierAccessor extends Object implements IdentifierAccessor
IdentifierAccessor
.Constructor and Description |
---|
IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity,
Object target)
Creates a new
IdPropertyIdentifierAccessor for the given PersistentEntity and
ConvertingPropertyAccessor . |
public IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity, Object target)
IdPropertyIdentifierAccessor
for the given PersistentEntity
and
ConvertingPropertyAccessor
.entity
- must not be null.target
- must not be null.public Object getIdentifier()
IdentifierAccessor
getIdentifier
in interface IdentifierAccessor
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.