Class PropErrorItemOrigin

java.lang.Object
com.iizix.prop.PropErrorItemOrigin

public class PropErrorItemOrigin extends Object
Class used to hold both a property and a property error item.
Author:
Christopher Mindus
  • Field Details

    • property

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

      public final IPropErrorItem errorItem
      The error item.
    • reference

      public final String reference
      The cached reference name, null if not set.
  • Constructor Details

    • PropErrorItemOrigin

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

    • equals

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

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