public abstract class AssetSchemaElement extends AssetReferenceable
The SchemaElement 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.
SchemaElement is an abstract class - used to enable the most accurate and precise mapping of the elements in a schema to the asset.Schema elements can be linked to one another using SchemaLink.
| Modifier and Type | Field and Description |
|---|---|
protected AssetMeanings |
assetMeanings |
referenceableBeanparentAsset| Constructor and Description |
|---|
AssetSchemaElement(AssetDescriptor parentAsset,
AssetSchemaElement templateSchema)
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.
|
AssetSchemaElement(AssetDescriptor parentAsset,
SchemaElement schemaElementBean,
AssetMeanings assetMeanings)
Bean constructor with parent asset
|
AssetSchemaElement(SchemaElement schemaElementBean,
AssetMeanings assetMeanings)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AssetSchemaElement |
cloneAssetSchemaElement(AssetDescriptor parentAsset)
Return a clone of this schema element.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
AssetMeanings |
getAssetMeanings()
Return a list of the glossary terms attached to this referenceable object.
|
String |
getAuthor()
Return the name of the author of the schema element.
|
String |
getEncodingStandard()
Return the format (encoding standard) used for this schema.
|
protected abstract SchemaElement |
getSchemaElementBean()
Return this schema element bean.
|
AdditionalProperties |
getSchemaProperties()
Return the properties that come from the technology-specific subtypes of SchemaElement.
|
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.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getQualifiedName, getReferenceableBeangetAssetClassifications, getElementHeaderBean, getGUID, getType, getURL, hashCodegetParentAsset, getParentAssetName, getParentAssetTypeNameprotected AssetMeanings assetMeanings
public AssetSchemaElement(SchemaElement schemaElementBean, AssetMeanings assetMeanings)
schemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetSchemaElement(AssetDescriptor parentAsset, SchemaElement schemaElementBean, AssetMeanings assetMeanings)
parentAsset - descriptor for parent assetschemaElementBean - bean containing the schema element propertiesassetMeanings - iterator for the asset assetMeaningspublic AssetSchemaElement(AssetDescriptor parentAsset, AssetSchemaElement templateSchema)
parentAsset - description of the asset that this schema element is attached to.templateSchema - template object to copy.public AssetMeanings getAssetMeanings()
protected abstract AssetSchemaElement cloneAssetSchemaElement(AssetDescriptor parentAsset)
parentAsset - description of the asset that this schema element is attached to.protected abstract SchemaElement getSchemaElementBean()
public String getVersionNumber()
public String getAuthor()
public String getUsage()
public String getEncodingStandard()
public AdditionalProperties getSchemaProperties()
public String toString()
toString in class AssetReferenceablepublic boolean equals(Object objectToCompare)
equals in class AssetReferenceableobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.