T
- the model's type@ProviderType public interface Representor<T> extends BaseRepresentor<T>
Instances of this interface should always be created by using a Representor.Builder
.
Representor.Builder
Modifier and Type | Interface and Description |
---|---|
static interface |
Representor.Builder<T,S>
Creates generic representations of your domain models that Apio
hypermedia writers can understand.
|
static interface |
Representor.FirstStep<T> |
static interface |
Representor.IdentifierStep<T,U> |
BaseRepresentor.BaseFirstStep<T,S extends BaseRepresentor<T>,U extends BaseRepresentor.BaseFirstStep<T,S,U>>
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getIdentifier(T model)
Returns the model's identifier.
|
getApplicationRelativeURLFunctions, getBinaryFunction, getBinaryFunctions, getBooleanFunctions, getBooleanListFunctions, getLinkFunctions, getLocalizedStringFunctions, getNestedFieldFunctions, getNestedListFieldFunctions, getNumberFunctions, getNumberListFunctions, getPrimaryType, getRelatedCollections, getRelatedModels, getRelativeURLFunctions, getStringFunctions, getStringListFunctions, getTypes, isNested
java.lang.Object getIdentifier(T model)
model
- the model instance