public interface RepositoryMetadata<E extends EntityMetadata<? extends AttributeMetadata>>
Repository
.Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
domainType()
The type of domain object this
Repository is repsonsible for. |
E |
entityMetadata()
The
EntityMetadata associated with the domain type of this Repository. |
java.lang.Boolean |
exportsMethod(CrudMethod method)
Does this Repository all this method to be exported?
|
java.lang.String |
name()
The name this
Repository is exported under. |
RepositoryQueryMethod |
queryMethod(java.lang.String key)
Get a
RepositoryQueryMethod by key. |
java.util.Map<java.lang.String,RepositoryQueryMethod> |
queryMethods()
Get a Map of all
RepositoryQueryMethod s, keyed by name. |
java.lang.String |
rel()
Get the string value to be used as part of a link rel attribute.
|
org.springframework.data.repository.CrudRepository<java.lang.Object,java.io.Serializable> |
repository()
The
Repository instance. |
java.lang.Class<?> |
repositoryClass()
The Class of the
Repository subinterface. |
java.lang.String name()
Repository
is exported under.java.lang.String rel()
java.lang.Class<?> domainType()
Repository
is repsonsible for.java.lang.Class<?> repositoryClass()
Repository
subinterface.org.springframework.data.repository.CrudRepository<java.lang.Object,java.io.Serializable> repository()
Repository
instance.Repository
instance.E entityMetadata()
EntityMetadata
associated with the domain type of this Repository.RepositoryQueryMethod queryMethod(java.lang.String key)
RepositoryQueryMethod
by key.key
- Segment of the URL to find a query method for.RepositoryQueryMethod
or null if
none found.java.util.Map<java.lang.String,RepositoryQueryMethod> queryMethods()
RepositoryQueryMethod
s, keyed by name.java.lang.Boolean exportsMethod(CrudMethod method)
method
-