Class DataContractSchemaElement
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractSchemaElement
- Direct Known Subclasses:
DataContractSchemaObject,DataContractSchemaProperty
This class represents the properties shared by the schema objects and schema properties of an Open Data
Contract Standard (ODCS) data contract. It is the base class for DataContractSchemaObject and
DataContractSchemaProperty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of links to sources that provide more details about this element.Return the business name of the schema element.Return the list of custom (key/value) properties attached to this element.Return whether this element is deprecated and should not be used in new implementations.Return the description of the schema element.getId()Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).getName()Return the name of the schema element.Return the name of the schema element in the physical data source.Return the data type of the schema element in the physical data source.Return the alternative names for this element.getTags()Return the list of tags attached to this element.inthashCode()Return hash code based on properties.voidsetAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up the list of links to sources that provide more details about this element.voidsetBusinessName(String businessName) Set up the business name of the schema element.voidsetCustomProperties(List<BitolCustomProperty> customProperties) Set up the list of custom (key/value) properties attached to this element.voidsetDeprecated(Boolean deprecated) Set up whether this element is deprecated and should not be used in new implementations.voidsetDescription(String description) Set up the description of the schema element.voidSet up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).voidSet up the name of the schema element.voidsetPhysicalName(String physicalName) Set up the name of the schema element in the physical data source.voidsetPhysicalType(String physicalType) Set up the data type of the schema element in the physical data source.voidsetSynonyms(List<BitolSynonym> synonyms) Set up the alternative names for this element.voidSet up the list of tags attached to this element.toString()Standard toString method.
-
Constructor Details
-
DataContractSchemaElement
public DataContractSchemaElement()Default constructor
-
-
Method Details
-
getId
Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).- Returns:
- string identifier
-
setId
Set up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).- Parameters:
id- string identifier
-
getName
Return the name of the schema element.- Returns:
- string name
-
setName
Set up the name of the schema element.- Parameters:
name- string name
-
getPhysicalName
Return the name of the schema element in the physical data source.- Returns:
- string name
-
setPhysicalName
Set up the name of the schema element in the physical data source.- Parameters:
physicalName- string name
-
getPhysicalType
Return the data type of the schema element in the physical data source.- Returns:
- string type name
-
setPhysicalType
Set up the data type of the schema element in the physical data source.- Parameters:
physicalType- string type name
-
getBusinessName
Return the business name of the schema element.- Returns:
- string name
-
setBusinessName
Set up the business name of the schema element.- Parameters:
businessName- string name
-
getDescription
Return the description of the schema element.- Returns:
- string description
-
setDescription
Set up the description of the schema element.- Parameters:
description- string description
-
getTags
Return the list of tags attached to this element.- Returns:
- list of tag strings
-
setTags
Set up the list of tags attached to this element.- Parameters:
tags- list of tag strings
-
getCustomProperties
Return the list of custom (key/value) properties attached to this element.- Returns:
- list of custom properties
-
setCustomProperties
Set up the list of custom (key/value) properties attached to this element.- Parameters:
customProperties- list of custom properties
-
getAuthoritativeDefinitions
Return the list of links to sources that provide more details about this element.- Returns:
- list of authoritative definitions
-
setAuthoritativeDefinitions
public void setAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up the list of links to sources that provide more details about this element.- Parameters:
authoritativeDefinitions- list of authoritative definitions
-
getDeprecated
Return whether this element is deprecated and should not be used in new implementations.- Returns:
- Boolean
-
setDeprecated
Set up whether this element is deprecated and should not be used in new implementations.- Parameters:
deprecated- Boolean
-
getSynonyms
Return the alternative names for this element.- Returns:
- List
-
setSynonyms
Set up the alternative names for this element.- Parameters:
synonyms- List
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-