public interface EntityReflector
Used for reflective data
Modifiers | Name | Description |
---|---|---|
interface |
EntityReflector.PropertyReader |
|
interface |
EntityReflector.PropertyWriter |
Type Params | Return Type | Name and description |
---|---|---|
|
public org.springframework.cglib.reflect.FastClass |
fastClass()
|
|
public java.util.Map<java.lang.String, java.lang.Object> |
getDirtyCheckingState(java.lang.Object entity)
|
|
public java.io.Serializable |
getIdentifier(java.lang.Object object)
|
|
public java.lang.String |
getIdentifierName()
|
|
public PersistentEntity |
getPersitentEntity() The entity |
|
public java.lang.Object |
getProperty(java.lang.Object object, int index) Get a property for the specified index |
|
public java.lang.Object |
getProperty(java.lang.Object object, java.lang.String name) Get a property for the specified index |
|
public java.lang.Iterable<java.lang.String> |
getPropertyNames()
|
|
public EntityReflector.PropertyReader |
getPropertyReader(java.lang.String name)
|
|
public EntityReflector.PropertyWriter |
getPropertyWriter(java.lang.String name)
|
|
public java.lang.Class |
identifierType()
|
|
public void |
setIdentifier(java.lang.Object object, java.lang.Object value) Set the identifier |
|
public void |
setProperty(java.lang.Object object, int index, java.lang.Object value) Set a property for the specified index |
|
public void |
setProperty(java.lang.Object object, java.lang.String name, java.lang.Object value) Set a property for the specified index |
The entity
Get a property for the specified index
object
- The objectindex
- The indexGet a property for the specified index
object
- The objectname
- The index
name
- Obtains the property reader for the given property
name
- Obtains the property writer for the given property
Set the identifier
value
- The valueSet a property for the specified index
object
- The objectindex
- The indexvalue
- The valueSet a property for the specified index
object
- The objectname
- The indexvalue
- The value