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()
Property
public java.lang.Class getType()
Property
public java.lang.Object getDefaultValue()
Property
getDefaultValue
in interface Property
public EventPropertyType getPropertyType()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static EventProperty createStatic(Property<?> prop, boolean isConfig)
public static EventProperty createDynamic(Property<?> prop, boolean isConfig)