@ProviderType public interface ModelDescription
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<ActionDescription> |
getActions()
Get the descriptions of the actions defined in the model.
|
java.lang.String |
getCategory()
Gets the model's category.
|
java.lang.Iterable<EntityDescription> |
getEntities()
Get the descriptions of the entities defined in the model.
|
int |
getEntityCount()
Get the count of entities to be serialized into the response.
|
java.lang.Iterable<HeaderDescription> |
getHeaders()
Get the descriptions of the headers defined in the model.
|
java.lang.Iterable<LinkDescription> |
getLinks()
Get the descriptions of the links defined in the model.
|
ModelPathMapper |
getMapper()
Gets the ModelPathMapper used by the model.
|
java.lang.Object |
getModel()
Gets the model object.
|
java.lang.String[] |
getModelTypes()
Get the model types, as defined by the type property on the ApiModel annotation.
|
java.lang.String |
getNextOffsetValue()
Get the value to use as the next offset for paginated requests.
|
java.lang.Iterable<PropertyDescription> |
getProperties()
Get the descriptions of properties defined in the model.
|
PropertyDescription |
getProperty(java.lang.String name)
Get the description for a specific property defined in the model by name.
|
@Nonnull ModelPathMapper getMapper()
@Nonnull java.lang.String getCategory()
java.lang.Object getModel()
@Nonnull java.lang.String[] getModelTypes()
@CheckForNull java.lang.String getNextOffsetValue()
int getEntityCount()
@Nonnull java.lang.Iterable<ActionDescription> getActions()
@Nonnull java.lang.Iterable<LinkDescription> getLinks()
@Nonnull java.lang.Iterable<EntityDescription> getEntities()
@Nonnull java.lang.Iterable<PropertyDescription> getProperties()
@CheckForNull PropertyDescription getProperty(java.lang.String name)
name
- The property name.@Nonnull java.lang.Iterable<HeaderDescription> getHeaders()
Copyright © 2010 - 2020 Adobe. All Rights Reserved