Class EventProperty
- java.lang.Object
-
- com.inductiveautomation.ignition.common.alarming.evaluation.EventProperty
-
- All Implemented Interfaces:
Property,java.io.Serializable
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
-
-
Field Summary
Fields Modifier and Type Field Description protected Property<?>internalprotected EventPropertyTypetype
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventPropertycreate(Property<?> prop, EventPropertyType type)static EventPropertycreateDynamic(Property<?> prop, boolean isConfig)static EventPropertycreateStatic(Property<?> prop, boolean isConfig)booleanequals(java.lang.Object obj)java.lang.ObjectgetDefaultValue()The default value for new instances of this property, or null if not applicable.java.lang.StringgetName()The "name" of this property.EventPropertyTypegetPropertyType()java.lang.ClassgetType()The data type for this property.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
internal
protected Property<?> internal
-
type
protected EventPropertyType type
-
-
Method Detail
-
create
public static EventProperty create(Property<?> prop, EventPropertyType type)
-
getName
public java.lang.String getName()
Description copied from interface:PropertyThe "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."
-
getType
public java.lang.Class getType()
Description copied from interface:PropertyThe data type for this property.
-
getDefaultValue
public java.lang.Object getDefaultValue()
Description copied from interface:PropertyThe default value for new instances of this property, or null if not applicable.- Specified by:
getDefaultValuein interfaceProperty
-
getPropertyType
public EventPropertyType getPropertyType()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
createStatic
public static EventProperty createStatic(Property<?> prop, boolean isConfig)
-
createDynamic
public static EventProperty createDynamic(Property<?> prop, boolean isConfig)
-
-