Class PropertyDefinition


  • public final class PropertyDefinition
    extends Object
    A description of a comparison property.
    • Constructor Detail

      • PropertyDefinition

        public PropertyDefinition​(String name)
        Defines a new property with the given name. The property defaults to null.
        Parameters:
        name - the name of the property
      • PropertyDefinition

        public PropertyDefinition​(String name,
                                  Object defaultValue)
        Defines a new property with the given name and default value.
        Parameters:
        name - the name of the property
        defaultValue - the default value for the property
    • Method Detail

      • getName

        public String getName()
        Gets the property name
        Returns:
        the name of the property
      • getDefaultValue

        public Object getDefaultValue()
        Gets the default value for the property
        Returns:
        the property's default value