public interface SQLContext
The base class for objects that implement the behaviour of an SQLContext. This
class is used within the instance creation process and should not be used
at any other place.
- Author:
- MatrixEditor
- See Also:
SQLExtractor
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>
getAPIServiceType()
java.lang.Object
getReference()
java.lang.Class<?>
getReferenceParent()
SQLSource
getSource()
void
setReference(java.lang.Object reference)
Sets the reference to the given value.void
setReferenceParent(java.lang.Class<?> cls)
Sets the declaring class ofgetReference()
.
-
Method Details
-
getSource
SQLSource getSource()- Returns:
- the current data source
-
getAPIServiceType
java.lang.Class<?> getAPIServiceType()- Returns:
- the declaring class of the called API method.
-
getReference
java.lang.Object getReference()- Returns:
- a wrapper object for the top level reference.
-
setReference
void setReference(java.lang.Object reference)Sets the reference to the given value.- Parameters:
reference
- a wrapper object for the top level reference
-
getReferenceParent
java.lang.Class<?> getReferenceParent()- Returns:
- the declaring class of
getReference()
.
-
setReferenceParent
void setReferenceParent(java.lang.Class<?> cls)Sets the declaring class ofgetReference()
.- Parameters:
cls
- the defined class instance
-