Package org.apache.unomi.api
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventProperty()
Initializes an instance of this class.EventProperty(String id)
Initializes an instance of an event property with the string value type.EventProperty(String id, String type)
Initializes an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Retrieves the identifier for this EventProperty.String
getValueType()
Retrieves the type.void
setId(String id)
Sets the identifier.void
setValueType(String type)
Sets the value type.
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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
-
-