|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.skyscreamer.yoga.configuration.YogaEntityConfiguration<T>
public abstract class YogaEntityConfiguration<T>
Interface for a class that configures an entity. An implementation of this interface must return the class being configured. It can be used instead of or in conjunction with entity-level annotations.
SimpleYogaEntityConfiguration,
Core| Constructor Summary | |
|---|---|
YogaEntityConfiguration()
|
|
| Method Summary | |
|---|---|
Collection<String> |
getCoreFields()
Returns a collection of core fields for an entity. |
Class<T> |
getEntityClass()
Identifies the class supported by this configuration. |
List<Method> |
getExtraFieldMethods()
This method returns a list of valid extra field methods on this object. |
List<String> |
getExtraFieldNames()
This method returns a list of the field names for @ExtraField methods in this object. |
Collection<Property<T>> |
getProperties()
Returns a collection of fields that can be selected on an entity similar to getSelectableFields(). |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YogaEntityConfiguration()
| Method Detail |
|---|
public Class<T> getEntityClass()
public Collection<String> getCoreFields()
public Collection<Property<T>> getProperties()
Propertypublic Collection<String> getSelectableFields()
public String getURITemplate()
public List<Method> getExtraFieldMethods()
public List<String> getExtraFieldNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||