public class EventProperty extends java.lang.Object implements Property
| Modifier and Type | Field and Description |
|---|---|
protected Property<?> |
internal |
protected EventPropertyType |
type |
| Constructor and Description |
|---|
EventProperty(Property<?> prop,
EventPropertyType type) |
| Modifier and Type | Method and Description |
|---|---|
static EventProperty |
createDynamic(Property<?> prop,
boolean isConfig) |
static EventProperty |
createStatic(Property<?> prop,
boolean isConfig) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getDefaultValue()
The default value for new instances of this property, or null if not applicable.
|
java.lang.String |
getName()
The "name" of this property.
|
EventPropertyType |
getPropertyType() |
java.lang.Class |
getType()
The data type for this property.
|
int |
hashCode() |
java.lang.String |
toString() |
protected Property<?> internal
protected EventPropertyType type
public EventProperty(Property<?> prop, EventPropertyType type)
public java.lang.String getName()
Propertypublic java.lang.Class getType()
Propertypublic java.lang.Object getDefaultValue()
PropertygetDefaultValue in interface Propertypublic EventPropertyType getPropertyType()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static EventProperty createStatic(Property<?> prop, boolean isConfig)
public static EventProperty createDynamic(Property<?> prop, boolean isConfig)