public abstract class SchemaElement extends Referenceable
The SchemaElement object provides a base class for the pieces that make up a schema for an asset. A schema provides information about how the data is structured in the asset. Schemas are typically described as nested structures of schema elements. There are two basic types:
Assets are linked to a SchemaType.
| Modifier and Type | Field and Description |
|---|---|
protected String |
anchorGUID |
protected String |
description |
protected String |
displayName |
protected boolean |
isDeprecated |
additionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
SchemaElement()
Default constructor
|
SchemaElement(SchemaElement template)
Copy/clone Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SchemaElement |
cloneSchemaElement()
Return a clone of this schema element.
|
String |
getAnchorGUID()
Return the unique identifier of the asset that this schema is ultimately connected to.
|
String |
getDescription()
Returns the stored description property for the schema element.
|
String |
getDisplayName()
Return the simple name of the schema element.
|
boolean |
isDeprecated()
Is the schema element deprecated?
|
void |
setAnchorGUID(String anchorGUID)
Set up the unique identifier of the asset that this schema is ultimately connected to.
|
void |
setDeprecated(boolean deprecated)
Set whether the schema element deprecated or not.
|
void |
setDescription(String description)
Set up the stored description property for the schema element.
|
void |
setDisplayName(String name)
Set up the simple name of the schema element.
|
String |
toString()
Standard toString method.
|
equals, getAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected boolean isDeprecated
protected String displayName
protected String description
protected String anchorGUID
public SchemaElement()
public SchemaElement(SchemaElement template)
template - template object to copy.public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
deprecated - boolean flagpublic String getDisplayName()
public void setDisplayName(String name)
name - String display namepublic String getDescription()
public void setDescription(String description)
description - string descriptionpublic String getAnchorGUID()
public void setAnchorGUID(String anchorGUID)
anchorGUID - string guidpublic abstract SchemaElement cloneSchemaElement()
public String toString()
toString in class ReferenceableCopyright © 2018–2020 ODPi. All rights reserved.