public class SimpleYogaEntityConfiguration<T> extends YogaEntityConfiguration<T>
| Constructor and Description |
|---|
SimpleYogaEntityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getCoreFields()
Returns a collection of core fields for an entity.
|
Class<T> |
getEntityClass()
Identifies the class supported by this configuration.
|
Collection<String> |
getSelectableFields()
Returns a collection of fields that can be selected on an entity.
|
String |
getURITemplate()
Specifies the template for the URL represented by this entity.
|
void |
setCoreFields(List<String> coreFields)
Setter for list of core fields for the entity being configured.
|
void |
setEntityClass(Class<T> entityClass)
Setter for entity class supported by this configuration.
|
void |
setSelectableFields(List<String> selectableFields)
Setter for list of selectable fields for the entity being configured.
|
void |
setUriTemplate(String uriTemplate)
Setter for URI template for the entity being configured
|
getExtraFieldMethods, getExtraFieldNames, getPropertiespublic Class<T> getEntityClass()
getEntityClass in class YogaEntityConfiguration<T>public Collection<String> getCoreFields()
getCoreFields in class YogaEntityConfiguration<T>public Collection<String> getSelectableFields()
getSelectableFields in class YogaEntityConfiguration<T>public String getURITemplate()
getURITemplate in class YogaEntityConfiguration<T>public void setEntityClass(Class<T> entityClass)
entityClass - A class object representing the entitypublic void setCoreFields(List<String> coreFields)
coreFields - A list of strings identifying the name of each core fieldpublic void setSelectableFields(List<String> selectableFields)
selectableFields - A list of strings identifying the name of each selectable fieldpublic void setUriTemplate(String uriTemplate)
uriTemplate - Copyright © 2014. All Rights Reserved.