Class Property


  • public class Property
    extends Node
    • Constructor Detail

      • Property

        public Property​(Identifier name)
        Constructs an instance representing a property whose value is set to DEFAULT
      • Property

        public Property​(NodeLocation location,
                        Identifier name)
        Constructs an instance representing a property whose value is set to DEFAULT
    • Method Detail

      • isSetToDefault

        public boolean isSetToDefault()
      • getNonDefaultValue

        public Expression getNonDefaultValue()
        Returns the non-default value of the property. This method should be called only if the property is not set to DEFAULT.
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in class Node
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Node