public class SchemaType extends SchemaElement
The SchemaType object provides a base class for the pieces that make up a schema for a data asset. A schema provides information about how the data is structured in the asset. Schemas are typically described as nested structures of linked schema elements. Schemas can also be reused in other schemas.
Schema type has a number of subtypes that hold additional properties.
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected String |
encodingStandard |
protected String |
formula |
protected String |
namespace |
protected List<DerivedSchemaTypeQueryTarget> |
queries |
protected String |
usage |
protected String |
versionNumber |
anchorGUID, description, displayName, expression, isCalculatedValue, isDeprecatedadditionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTagsclassifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
SchemaType()
Default constructor
|
SchemaType(SchemaType template)
Copy/clone Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.
|
SchemaType |
cloneSchemaType()
Return a clone of this schema type.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getAuthor()
Return the name of the author of the schema element.
|
String |
getEncodingStandard()
Return the format (encoding standard) used for this schema.
|
String |
getFormula()
Return the formula used to combine the values of the queries.
|
String |
getNamespace()
Return the name of the namespace that this type belongs to.
|
List<DerivedSchemaTypeQueryTarget> |
getQueries()
Return the list of queries that are used to create the derived schema element.
|
String |
getUsage()
Return the usage guidance for this schema element.
|
String |
getVersionNumber()
Return the version number of the schema element - null means no version number.
|
int |
hashCode()
Hash of properties
|
void |
setAuthor(String author)
Set up the name of the author of the schema element.
|
void |
setEncodingStandard(String encodingStandard)
Set up the format (encoding standard) used for this schema.
|
void |
setFormula(String formula)
Set up the formula used to combine the values of the queries.
|
void |
setNamespace(String namespace)
Set up the name of the namespace that this type belongs to.
|
void |
setQueries(List<DerivedSchemaTypeQueryTarget> queries)
Set up the list of queries that are used to create the derived schema element.
|
void |
setUsage(String usage)
Set up the usage guidance for this schema element.
|
void |
setVersionNumber(String versionNumber)
Set up the version number of the schema element - null means no version number.
|
String |
toString()
Standard toString method.
|
getAnchorGUID, getDescription, getDisplayName, getExpression, getIsDeprecated, isCalculatedValue, setAnchorGUID, setCalculatedValue, setDescription, setDisplayName, setExpression, setIsDeprecatedgetAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTagsgetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected String versionNumber
protected String author
protected String usage
protected String encodingStandard
protected String namespace
protected String formula
protected List<DerivedSchemaTypeQueryTarget> queries
public SchemaType()
public SchemaType(SchemaType template)
template - template object to copy.public String getFormula()
public void setFormula(String formula)
formula - String formulapublic List<DerivedSchemaTypeQueryTarget> getQueries()
public void setQueries(List<DerivedSchemaTypeQueryTarget> queries)
queries - list of queriespublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaElementpublic SchemaType cloneSchemaType()
public String getVersionNumber()
public void setVersionNumber(String versionNumber)
versionNumber - String version numberpublic String getAuthor()
public void setAuthor(String author)
author - String author namepublic String getUsage()
public void setUsage(String usage)
usage - String usage guidancepublic String getEncodingStandard()
public void setEncodingStandard(String encodingStandard)
encodingStandard - String encoding standardpublic String getNamespace()
public void setNamespace(String namespace)
namespace - string namepublic String toString()
toString in class SchemaElementpublic boolean equals(Object objectToCompare)
equals in class SchemaElementobjectToCompare - supplied objectpublic int hashCode()
hashCode in class SchemaElementCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.