public class AnnotationMatchProperties extends LabeledRelationshipProperties
AnnotationMatchProperties is used to link an annotation from a data class and identify how closely it matches.
  • Constructor Details

    • AnnotationMatchProperties

      public AnnotationMatchProperties()
      Default constructor used by subclasses
    • AnnotationMatchProperties

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

    • getMethod

      public String getMethod()
      Return the method used to create the match.
      Returns:
      string
    • setMethod

      public void setMethod(String method)
      Set up the method used to create the match.
      Parameters:
      method - string
    • getThreshold

      public int getThreshold()
      Return the level of match - 0 means no match, 100 means perfect match.
      Returns:
      int
    • setThreshold

      public void setThreshold(int threshold)
      Set up the level of match - 0 means no match, 100 means perfect match.
      Parameters:
      threshold - int
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class LabeledRelationshipProperties
      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 LabeledRelationshipProperties
      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 LabeledRelationshipProperties
      Returns:
      int hash code