Class ExternalSchemaType
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
org.odpi.openmetadata.frameworks.connectors.properties.beans.ExternalSchemaType
ExternalSchemaType links to another schema defined to be reusable in many assets' schema.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by subclassesExternalSchemaType(ExternalSchemaType template) Copy/clone Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this object as the abstract SchemaElement class.Returns a clone of this object as the abstract SchemaType class.booleanCompare the values of the supplied object with those stored in the current object.Return the list of alternative schema types that this attribute or asset may use.inthashCode()Hash of propertiesvoidsetLinkedSchemaType(SchemaType linkedSchemaType) Set up the list of alternative schema types that this attribute or asset may use.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
getDescription, getDisplayName, getExpression, getExpressionType, getIsCalculatedValue, getIsDeprecated, setDescription, setDisplayName, setExpression, setExpressionType, setIsCalculatedValue, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywordsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
ExternalSchemaType
public ExternalSchemaType()Default constructor used by subclasses -
ExternalSchemaType
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Details
-
getLinkedSchemaType
Return the list of alternative schema types that this attribute or asset may use.- Returns:
- list of schema types
-
setLinkedSchemaType
Set up the list of alternative schema types that this attribute or asset may use.- Parameters:
linkedSchemaType- list of schema types
-
cloneSchemaElement
Returns a clone of this object as the abstract SchemaElement class.- Overrides:
cloneSchemaElementin classSchemaType- Returns:
- SchemaElement
-
cloneSchemaType
Returns a clone of this object as the abstract SchemaType class.- Overrides:
cloneSchemaTypein classSchemaType- Returns:
- PrimitiveSchemaType object
-
toString
Standard toString method.- Overrides:
toStringin classSchemaType- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classSchemaType- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classSchemaType- Returns:
- int
-