Class BitolAuthoritativeDefinition

java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.common.BitolAuthoritativeDefinition

public class BitolAuthoritativeDefinition extends Object
This class represents a link to a source that provides more details on an element of a Bitol Open Data Contract Standard (ODCS) or Open Data Product Standard (ODPS) document. The type of link is described by the BitolAuthoritativeDefinitionType enumeration although other values are permitted.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the description of the purpose of the link.
    Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
    Return the type of definition.
    Return the URL of the authoritative source.
    int
    Return hash code based on properties.
    void
    setDescription(String description)
    Set up the description of the purpose of the link.
    void
    Set up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
    void
    Set up the type of definition.
    void
    Set up the URL of the authoritative source.
    Standard toString method.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BitolAuthoritativeDefinition

      public BitolAuthoritativeDefinition()
      Default constructor
  • Method Details

    • getId

      public String getId()
      Return the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
      Returns:
      string identifier
    • setId

      public void setId(String id)
      Set up the stable identifier of this element (alphanumeric, hyphen and underscore characters only).
      Parameters:
      id - string identifier
    • getType

      public String getType()
      Return the type of definition. Standard values are defined in BitolAuthoritativeDefinitionType.
      Returns:
      string type name
    • setType

      public void setType(String type)
      Set up the type of definition. Standard values are defined in BitolAuthoritativeDefinitionType.
      Parameters:
      type - string type name
    • getUrl

      public String getUrl()
      Return the URL of the authoritative source.
      Returns:
      string URL
    • setUrl

      public void setUrl(String url)
      Set up the URL of the authoritative source.
      Parameters:
      url - string URL
    • getDescription

      public String getDescription()
      Return the description of the purpose of the link.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description of the purpose of the link.
      Parameters:
      description - string description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int