public class PropertyMappings extends Object
ResourceMapping
s for PersistentProperty
instances.2.1
Constructor and Description |
---|
PropertyMappings(ResourceMappings resourceMappings)
Creates a new
PropertyMappings instance for the given ResourceMappings . |
Modifier and Type | Method and Description |
---|---|
ResourceMapping |
getMappingFor(PersistentProperty<?> property)
Returns the
ResourceMapping for the given PersistentProperty . |
public PropertyMappings(ResourceMappings resourceMappings)
PropertyMappings
instance for the given ResourceMappings
.resourceMappings
- public ResourceMapping getMappingFor(PersistentProperty<?> property)
ResourceMapping
for the given PersistentProperty
.property
- can be null.Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.