public interface ResourceMetadata extends CollectionResourceMapping
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getDomainType()
Returns the domain type that is exposed through the resource.
|
ResourceMapping |
getMappingFor(PersistentProperty<?> property)
Returns the
ResourceMapping for the given PersistentProperty or null if not managed. |
SearchResourceMappings |
getSearchResourceMappings()
Returns the
SearchResourceMappings, i.e. the mappings for the search resource exposed for the current
resource. |
boolean |
isExported(PersistentProperty<?> property)
Returns whether the given
PersistentProperty is a managed resource and in fact exported. |
boolean |
isManagedResource(PersistentProperty<?> property)
Returns whether the type of the given
PersistentProperty is exposed as resource itself. |
getExcerptProjection, getItemResourceDescription, getItemResourceRelgetDescription, getPath, getRel, isExported, isPagingResourceClass<?> getDomainType()
boolean isManagedResource(PersistentProperty<?> property)
PersistentProperty is exposed as resource itself.property - must not be null.boolean isExported(PersistentProperty<?> property)
PersistentProperty is a managed resource and in fact exported.property - must not be null.ResourceMapping getMappingFor(PersistentProperty<?> property)
ResourceMapping for the given PersistentProperty or null if not managed.property - must not be null.SearchResourceMappings getSearchResourceMappings()
SearchResourceMappings, i.e. the mappings for the search resource exposed for the current
resource.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.