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