Class ExternalStandardMapping
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.ExternalStandardMapping
- All Implemented Interfaces:
Serializable
ExternalStandardMapping defines a mapping of TypeDefs and TypeDefAttributes to an external standard. It includes the name
of the standard, the organization that owns the standard and the equivalent type in the external standard.
This mapping is done on a property type by property type basis. The aim is to create clarity on the meaning
of the open metadata types and support importers and exporters between open metadata types and external standards.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault Constructor initializes to null.ExternalStandardMapping
(ExternalStandardMapping templateElement) Copy/clone constructor copies values from supplied template. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Verify that supplied object has the same properties.Return the name of the standard that this mapping relates to.Return the name of organization that owns the standard that this mapping refers to.Return the name of the type from the standard that is equivalent to the linked open metadata type.int
hashCode()
Integer for hashmapsvoid
setStandardName
(String standardName) Set up the name of the standard that this mapping relates to.void
setStandardOrganization
(String standardOrganization) Set up the name of the organization that owns the standard that this mapping refers to.void
setStandardTypeName
(String standardTypeName) Set up the name of the type from the standard that is equivalent to the linked open metadata type.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ExternalStandardMapping
public ExternalStandardMapping()Default Constructor initializes to null. -
ExternalStandardMapping
Copy/clone constructor copies values from supplied template.- Parameters:
templateElement
- template to copy.
-
-
Method Details
-
getStandardName
Return the name of the standard that this mapping relates to.- Returns:
- String standard name
-
setStandardName
Set up the name of the standard that this mapping relates to.- Parameters:
standardName
- String standard name
-
getStandardOrganization
Return the name of organization that owns the standard that this mapping refers to.- Returns:
- String organization name
-
setStandardOrganization
Set up the name of the organization that owns the standard that this mapping refers to.- Parameters:
standardOrganization
- String organization name
-
getStandardTypeName
Return the name of the type from the standard that is equivalent to the linked open metadata type.- Returns:
- String type name from standard
-
setStandardTypeName
Set up the name of the type from the standard that is equivalent to the linked open metadata type.- Parameters:
standardTypeName
- String type name from standard
-
toString
Standard toString method. -
equals
Verify that supplied object has the same properties.- Overrides:
equals
in classRepositoryElementHeader
- Parameters:
objectToCompare
- object to test- Returns:
- result
-
hashCode
public int hashCode()Integer for hashmaps- Overrides:
hashCode
in classRepositoryElementHeader
- Returns:
- hash code
-