Class ExternalStandardTypeMapping

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefElementHeader
org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalStandardTypeMapping

public class ExternalStandardTypeMapping extends OpenMetadataTypeDefElementHeader
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.
  • Constructor Details

    • ExternalStandardTypeMapping

      public ExternalStandardTypeMapping()
      Default Constructor initializes to null.
    • ExternalStandardTypeMapping

      public ExternalStandardTypeMapping(ExternalStandardTypeMapping templateElement)
      Copy/clone constructor copies values from supplied template.
      Parameters:
      templateElement - template to copy.
  • Method Details

    • 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.
      Overrides:
      toString in class Object
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Verify that supplied object has the same properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to test
      Returns:
      result
    • hashCode

      public int hashCode()
      Integer for hashmaps
      Overrides:
      hashCode in class Object
      Returns:
      hash code