public class DerivedSchemaAttribute extends SchemaAttribute
| Modifier and Type | Field and Description |
|---|---|
protected String |
formula |
protected List<SchemaImplementationQuery> |
queries |
aliases, allowsDuplicateValues, anchorGUID, attributeName, attributeRelationships, attributeType, cardinality, defaultValueOverride, elementPosition, externalAttributeType, isNullable, length, maxCardinality, minCardinality, minimumLength, nativeJavaClass, orderedValues, significantDigits, sortOrderdescription, displayName, isDeprecatedadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
DerivedSchemaAttribute()
Default constructor
|
DerivedSchemaAttribute(DerivedSchemaAttribute template)
Copy/clone Constructor.
|
| 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.
|
getAliases, getAnchorGUID, getAttributeName, getAttributeRelationships, getAttributeType, getCardinality, getCategory, getDefaultValueOverride, getElementPosition, getExternalAttributeType, getLength, getMaxCardinality, getMinCardinality, getMinimumLength, getNativeJavaClass, getSignificantDigits, getSortOrder, hashCode, isAllowsDuplicateValues, isNullable, isOrderedValues, setAliases, setAllowsDuplicateValues, setAnchorGUID, setAttributeName, setAttributeRelationships, setAttributeType, setCardinality, setCategory, setDefaultValueOverride, setElementPosition, setExternalAttributeType, setLength, setMaxCardinality, setMinCardinality, setMinimumLength, setNativeJavaClass, setNullable, setOrderedValues, setSignificantDigits, setSortOrdergetDescription, getDisplayName, isDeprecated, setDeprecated, setDescription, setDisplayNamegetAdditionalProperties, getMeanings, getQualifiedName, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String formula
protected List<SchemaImplementationQuery> queries
public DerivedSchemaAttribute()
public DerivedSchemaAttribute(DerivedSchemaAttribute template)
template - 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.