Package com.luciad.ogc.filter.evaluator
Class TLcdSelfPropertyRetriever
java.lang.Object
com.luciad.ogc.filter.evaluator.TLcdSelfPropertyRetriever
- All Implemented Interfaces:
ILcdPropertyRetriever
This class is an implementation of
ILcdPropertyRetriever
that returns the object itself. It allows an optional Class
.-
Constructor Summary
ConstructorDescriptionDefault constructor.TLcdSelfPropertyRetriever
(Class aClass) Constructs an instance with a givenClass
that will be used for the property class. -
Method Summary
Modifier and TypeMethodDescriptionGets the class of the property that will be obtained.retrieveProperty
(Object aObject) Gets the property from the given object.
-
Constructor Details
-
TLcdSelfPropertyRetriever
Constructs an instance with a givenClass
that will be used for the property class.- Parameters:
aClass
- the givenClass
that will be used for the property class.
-
TLcdSelfPropertyRetriever
public TLcdSelfPropertyRetriever()Default constructor.Object
that will be used for the property class.
-
-
Method Details
-
retrieveProperty
Gets the property from the given object. In this implementation, it will return the object itself.- Specified by:
retrieveProperty
in interfaceILcdPropertyRetriever
- Parameters:
aObject
- the given object from which the property must be obtained.- Returns:
- the property of the given object.
-
getPropertyClass
Gets the class of the property that will be obtained.- Specified by:
getPropertyClass
in interfaceILcdPropertyRetriever
- Returns:
- the class of the property that will be obtained.
-