public class AssetSchemaImplementationQuery extends AssetPropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected AssetSchemaAttribute |
queryTargetElement |
protected SchemaImplementationQuery |
schemaImplementationQueryBean |
parentAsset| Constructor and Description |
|---|
AssetSchemaImplementationQuery(AssetDescriptor parentAsset,
AssetSchemaImplementationQuery template)
Copy/clone constructor.
|
AssetSchemaImplementationQuery(AssetDescriptor parentAsset,
SchemaImplementationQuery schemaImplementationQueryBean,
AssetSchemaAttribute queryTargetElement)
Bean constructor with parent asset
|
AssetSchemaImplementationQuery(SchemaImplementationQuery schemaImplementationQueryBean,
AssetSchemaAttribute queryTargetElement)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getQuery()
Return the query string for this element.
|
int |
getQueryId()
Return the query id - this is used to identify where the results of this query should be plugged into
the other queries or the formula for the parent derived schema element.
|
AssetSchemaAttribute |
getQueryTargetElement()
Return the SchemaAttribute that describes the type of the data source that will be queried to get the
derived value.
|
String |
getQueryType()
Return the name of the query language used in the query.
|
protected SchemaImplementationQuery |
getSchemaImplementationQueryBean()
Return the bean with all of the properties - used in cloning.
|
int |
hashCode()
Create a hash code for this element type.
|
String |
toString()
Standard toString method.
|
getParentAsset, getParentAssetName, getParentAssetTypeNameprotected SchemaImplementationQuery schemaImplementationQueryBean
protected AssetSchemaAttribute queryTargetElement
public AssetSchemaImplementationQuery(SchemaImplementationQuery schemaImplementationQueryBean, AssetSchemaAttribute queryTargetElement)
schemaImplementationQueryBean - bean containing all of the propertiesqueryTargetElement - target data source for querypublic AssetSchemaImplementationQuery(AssetDescriptor parentAsset, SchemaImplementationQuery schemaImplementationQueryBean, AssetSchemaAttribute queryTargetElement)
parentAsset - description of the asset that this schema query is attached to.schemaImplementationQueryBean - bean containing all of the propertiesqueryTargetElement - target data source for querypublic AssetSchemaImplementationQuery(AssetDescriptor parentAsset, AssetSchemaImplementationQuery template)
parentAsset - description of the asset that this schema query is attached to.template - template schema query to copy.protected SchemaImplementationQuery getSchemaImplementationQueryBean()
public int getQueryId()
public String getQuery()
public String getQueryType()
public AssetSchemaAttribute getQueryTargetElement()
public String toString()
toString in class AssetPropertyElementBasepublic boolean equals(Object objectToCompare)
equals in class AssetPropertyBaseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class AssetPropertyElementBaseCopyright © 2018–2020 ODPi. All rights reserved.