Package de.alpharogroup.model.api
Interface PropertyReflectionAwareModel<T>
-
- Type Parameters:
T
- the generic type of the model object
- All Superinterfaces:
Attachable
,Detachable
,Model<T>
,java.io.Serializable
public interface PropertyReflectionAwareModel<T> extends Model<T>
The interfacePropertyReflectionAwareModel
provides reflection information about the model object property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.reflect.Field
getPropertyField()
Gets the field of model property or null if the field doesn't exist.java.lang.reflect.Method
getPropertyGetter()
Gets the getter method of model property or null if the method doesn't exist.java.lang.reflect.Method
getPropertySetter()
Gets the setter method of model property or null if the method doesn't exist.-
Methods inherited from interface de.alpharogroup.model.api.Attachable
attach
-
Methods inherited from interface de.alpharogroup.model.api.Detachable
detach
-
-
-
-
Method Detail
-
getPropertyField
java.lang.reflect.Field getPropertyField()
Gets the field of model property or null if the field doesn't exist.- Returns:
- the property field
-
getPropertyGetter
java.lang.reflect.Method getPropertyGetter()
Gets the getter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-
getPropertySetter
java.lang.reflect.Method getPropertySetter()
Gets the setter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-
-