Class ResourceMeasureAnnotation

Direct Known Subclasses:
ResourcePhysicalStatusAnnotation

public class ResourceMeasureAnnotation extends Annotation
DataSourceMeasurementAnnotation describes properties that describe the characteristics of the data source as a whole.
  • Constructor Details

    • ResourceMeasureAnnotation

      public ResourceMeasureAnnotation()
      Default constructor
    • ResourceMeasureAnnotation

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

    • getResourceProperties

      public Map<String,String> getResourceProperties()
      Return the properties of the data source.
      Returns:
      date time
    • setResourceProperties

      public void setResourceProperties(Map<String,String> resourceProperties)
      Set up the properties of the data source.
      Parameters:
      resourceProperties - date time
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Annotation
      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 Annotation
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Annotation
      Returns:
      int hash code