public class DerivedSchemaAttribute extends SchemaAttribute
| Modifier and Type | Field and Description |
|---|---|
protected String |
formula |
protected List<SchemaImplementationQuery> |
queries |
attributeName, attributeRelationships, attributeType, cardinality, defaultValueOverride, elementPosition, externalAttributeTypeadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
DerivedSchemaAttribute()
Default constructor
|
DerivedSchemaAttribute(DerivedSchemaAttribute 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.
|
getAttributeName, getAttributeRelationships, getAttributeType, getCardinality, getDefaultValueOverride, getElementPosition, getExternalAttributeType, setAttributeName, setAttributeRelationships, setAttributeType, setCardinality, setDefaultValueOverride, setElementPosition, setExternalAttributeTypegetAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String formula
protected List<SchemaImplementationQuery> queries
public DerivedSchemaAttribute()
public DerivedSchemaAttribute(DerivedSchemaAttribute 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 SchemaAttributepublic String toString()
toString in class SchemaAttributepublic boolean equals(Object objectToCompare)
equals in class SchemaAttributeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.