public class TLcdSelfPropertyRetriever extends java.lang.Object implements ILcdPropertyRetriever
ILcdPropertyRetriever
that returns the object itself. It allows an optional Class
.Constructor and Description |
---|
TLcdSelfPropertyRetriever()
Default constructor.
|
TLcdSelfPropertyRetriever(java.lang.Class aClass)
Constructs an instance with a given
Class that will be used for the property class. |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getPropertyClass()
Gets the class of the property that will be obtained.
|
java.lang.Object |
retrieveProperty(java.lang.Object aObject)
Gets the property from the given object.
|
public TLcdSelfPropertyRetriever(java.lang.Class aClass)
Class
that will be used for the property class.aClass
- the given Class
that will be used for the property class.public TLcdSelfPropertyRetriever()
Object
that will be used for the property class.public java.lang.Object retrieveProperty(java.lang.Object aObject)
retrieveProperty
in interface ILcdPropertyRetriever
aObject
- the given object from which the property must be obtained.public java.lang.Class getPropertyClass()
getPropertyClass
in interface ILcdPropertyRetriever