java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.resource.properties.AtlasMetricsTag

public class AtlasMetricsTag extends Object
AtlasMetricsTag defines a map of classification type names to the number of entities attached to each tag.
  • Constructor Details

    • AtlasMetricsTag

      public AtlasMetricsTag()
      Default constructor
    • AtlasMetricsTag

      public AtlasMetricsTag(AtlasMetricsTag template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getTagEntities

      public Map<String,Integer> getTagEntities()
      Return a map of classification names to counts of the number of entities it is attached to.
      Returns:
      tagged entity metrics
    • setTagEntities

      public void setTagEntities(Map<String,Integer> tagEntities)
      Set up a map of classification names to counts of the number of entities it is attached to.
      Parameters:
      tagEntities - tagged entity metrics
    • 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()
      Hash of properties
      Overrides:
      hashCode in class Object
      Returns:
      int