Class ExternalStandardMapping
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.ExternalStandardMapping
-
- All Implemented Interfaces:
Serializable
public class ExternalStandardMapping extends TypeDefElementHeader
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ExternalStandardMapping()Default Constructor initializes to null.ExternalStandardMapping(ExternalStandardMapping templateElement)Copy/clone constructor copies values from supplied template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Verify that supplied object has the same properties.StringgetStandardName()Return the name of the standard that this mapping relates to.StringgetStandardOrganization()Return the name of organization that owns the standard that this mapping refers to.StringgetStandardTypeName()Return the name of the type from the standard that is equivalent to the linked open metadata type.inthashCode()Integer for hashmapsvoidsetStandardName(String standardName)Set up the name of the standard that this mapping relates to.voidsetStandardOrganization(String standardOrganization)Set up the name of the organization that owns the standard that this mapping refers to.voidsetStandardTypeName(String standardTypeName)Set up the name of the type from the standard that is equivalent to the linked open metadata type.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ExternalStandardMapping
public ExternalStandardMapping()
Default Constructor initializes to null.
-
ExternalStandardMapping
public ExternalStandardMapping(ExternalStandardMapping templateElement)
Copy/clone constructor copies values from supplied template.- Parameters:
templateElement- template to copy.
-
-
Method Detail
-
getStandardName
public String getStandardName()
Return the name of the standard that this mapping relates to.- Returns:
- String standard name
-
setStandardName
public void setStandardName(String standardName)
Set up the name of the standard that this mapping relates to.- Parameters:
standardName- String standard name
-
getStandardOrganization
public String getStandardOrganization()
Return the name of organization that owns the standard that this mapping refers to.- Returns:
- String organization name
-
setStandardOrganization
public void setStandardOrganization(String standardOrganization)
Set up the name of the organization that owns the standard that this mapping refers to.- Parameters:
standardOrganization- String organization name
-
getStandardTypeName
public String 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
public void setStandardTypeName(String standardTypeName)
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
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Verify that supplied object has the same properties.
-
-