Class GovernedReferenceable

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Asset, SchemaElement

    public class GovernedReferenceable
    extends Referenceable
    GovernedReferenceable adds governance relationships and classifications to a referenceable that represents an asset.
    See Also:
    Serialized Form
    • Field Detail

      • meanings

        protected java.util.List<Meaning> meanings
      • searchKeywords

        protected java.util.List<SearchKeyword> searchKeywords
    • Constructor Detail

      • GovernedReferenceable

        public GovernedReferenceable()
        Default constructor
      • GovernedReferenceable

        public GovernedReferenceable​(GovernedReferenceable template)
        Copy/clone constructor. Retrieves values from the supplied template
        Parameters:
        template - element to copy
    • Method Detail

      • getMeanings

        public java.util.List<Meaning> getMeanings()
        Return the assigned meanings for this metadata entity.
        Returns:
        list of meanings
      • setMeanings

        public void setMeanings​(java.util.List<Meaning> meanings)
        Set up the assigned meanings for this metadata entity.
        Parameters:
        meanings - list of meanings
      • getSearchKeywords

        public java.util.List<SearchKeyword> getSearchKeywords()
        Return a list of keywords that will help an asset consumer to locate this asset.
        Returns:
        list of strings
      • setSearchKeywords

        public void setSearchKeywords​(java.util.List<SearchKeyword> searchKeywords)
        Set up a list of keywords that will help an asset consumer to locate this asset.
        Parameters:
        searchKeywords - list of strings
      • toString

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

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

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