|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentEntity<T>
Represents a persistent entity
Method Summary | |
---|---|
void |
doWithAssociations(AssociationHandler handler)
|
void |
doWithProperties(PropertyHandler handler)
|
Collection<Association> |
getAssociations()
A list of the associations for this entity. |
PersistentProperty |
getIdProperty()
Returns the identity of the instance |
MappingContext |
getMappingContext()
Obtains the MappingContext where this PersistentEntity is defined |
String |
getName()
The entity name including any package prefix |
Collection<PersistentProperty> |
getPersistentProperties()
A list of properties to be persisted |
PersistentProperty |
getPersistentProperty(String name)
Obtains a PersistentProperty instance by name |
Collection<String> |
getPersistentPropertyNames()
A list of property names |
PreferredConstructor<T> |
getPreferredConstructor()
|
TypeInformation |
getPropertyInformation()
|
Class<T> |
getType()
|
Methods inherited from interface org.springframework.beans.factory.InitializingBean |
---|
afterPropertiesSet |
Method Detail |
---|
String getName()
PreferredConstructor<T> getPreferredConstructor()
PersistentProperty getIdProperty()
Collection<PersistentProperty> getPersistentProperties()
Collection<Association> getAssociations()
getPersistentProperties()
PersistentProperty getPersistentProperty(String name)
name
- The name of the property
Class<T> getType()
TypeInformation getPropertyInformation()
Collection<String> getPersistentPropertyNames()
MappingContext getMappingContext()
void doWithProperties(PropertyHandler handler)
void doWithAssociations(AssociationHandler handler)
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |