public class DerivedSchemaElement extends PrimitiveSchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected String |
formula |
protected List<SchemaImplementationQuery> |
queries |
dataType, defaultValueauthor, encodingStandard, schemaProperties, usage, versionNumberadditionalProperties, qualifiedNameclassifications, guid, type, url| Constructor and Description |
|---|
DerivedSchemaElement()
Default constructor
|
DerivedSchemaElement(DerivedSchemaElement templateSchemaElement)
Copy/clone Constructor the parentAsset is passed separately to the template because it is also
likely to be being cloned in the same operation and we want the definitions clone to point to the
asset clone and not the original asset.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getFormula()
Return the formula used to combine the values of the queries.
|
List<SchemaImplementationQuery> |
getQueries()
Return the list of queries that are used to create the derived schema element.
|
void |
setFormula(String formula)
Set up the formula used to combine the values of the queries.
|
void |
setQueries(List<SchemaImplementationQuery> queries)
Set up the list of queries that are used to create the derived schema element.
|
String |
toString()
Standard toString method.
|
getDataType, getDefaultValue, setDataType, setDefaultValuegetAuthor, getEncodingStandard, getSchemaProperties, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setSchemaProperties, setUsage, setVersionNumbergetAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNamegetClassifications, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected String formula
protected List<SchemaImplementationQuery> queries
public DerivedSchemaElement()
public DerivedSchemaElement(DerivedSchemaElement templateSchemaElement)
templateSchemaElement - template object to copy.public String getFormula()
public void setFormula(String formula)
formula - String formulapublic List<SchemaImplementationQuery> getQueries()
public void setQueries(List<SchemaImplementationQuery> queries)
queries - list of queriespublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class PrimitiveSchemaElementpublic String toString()
toString in class PrimitiveSchemaElementpublic boolean equals(Object objectToCompare)
equals in class PrimitiveSchemaElementobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.