Class ExternalStandardTypeMapping
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefElementHeader
org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalStandardTypeMapping
ExternalStandardTypeMapping 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.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault Constructor initializes to null.ExternalStandardTypeMapping
(ExternalStandardTypeMapping 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.
-
Constructor Details
-
ExternalStandardTypeMapping
public ExternalStandardTypeMapping()Default Constructor initializes to null. -
ExternalStandardTypeMapping
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. -
hashCode
public int hashCode()Integer for hashmaps
-