Class PropErrorItemOrigin


  • public class PropErrorItemOrigin
    extends java.lang.Object
    Class used to hold both a property and a property error item.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Checks if two instances are equal.
      java.lang.String toString()
      Outputs a string representation of this error.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • property

        public final GProp<?> property
        The property.
      • reference

        public final java.lang.String reference
        The cached reference name, null if not set.
    • Constructor Detail

      • PropErrorItemOrigin

        public PropErrorItemOrigin​(GProp<?> property,
                                   IPropErrorItem errorItem)
        Constructor that assigns the property and errorItem members.
        Parameters:
        property - The property.
        errorItem - The error item.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Checks if two instances are equal.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Outputs a string representation of this error.
        Overrides:
        toString in class java.lang.Object