Class EventProperty

  • All Implemented Interfaces:

    public class EventProperty
    extends java.lang.Object
    implements Property
    This wrapper around Property adds information about what kind of property it is. It is only used by the alarming system, and is primarily used when trying to decide what should be journaled.
    See Also:
    Serialized Form
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Property
        The "name" of this property. Should be descriptive, but also unique. To this end, it is encouraged to make your keys fully qualified by prefixing them with your module id. For example: "mymod.MyProperty". Properties defined by the system start with "sys."
        Specified by:
        getName in interface Property
      • getType

        public java.lang.Class getType()
        Description copied from interface: Property
        The data type for this property.
        Specified by:
        getType in interface Property
      • getDefaultValue

        public java.lang.Object getDefaultValue()
        Description copied from interface: Property
        The default value for new instances of this property, or null if not applicable.
        Specified by:
        getDefaultValue in interface Property
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object