Class EventProperty

java.lang.Object
org.apache.unomi.api.EventProperty
All Implemented Interfaces:
Serializable

public class EventProperty extends Object implements Serializable
An event property.
Author:
Sergiy Shyrkov
See Also:
  • Constructor Details

    • EventProperty

      public EventProperty()
      Initializes an instance of this class.
    • EventProperty

      public EventProperty(String id)
      Initializes an instance of an event property with the string value type.
      Parameters:
      id - the event property id
    • EventProperty

      public EventProperty(String id, String type)
      Initializes an instance of this class.
      Parameters:
      id - the event property id
      type - the type of the value for this property
  • Method Details

    • getId

      public String getId()
      Retrieves the identifier for this EventProperty.
      Returns:
      the identifier for this EventProperty
    • setId

      public void setId(String id)
      Sets the identifier.
      Parameters:
      id - the id
    • getValueType

      public String getValueType()
      Retrieves the type.
      Returns:
      the value type
    • setValueType

      public void setValueType(String type)
      Sets the value type.
      Parameters:
      type - the type