Modifier and Type | Field and Description |
---|---|
protected java.util.Map<T,java.lang.Object> |
properties |
Constructor and Description |
---|
PropertyHolder(java.lang.Class<T> cls) |
Modifier and Type | Method and Description |
---|---|
int |
compareNumericValue(T property,
java.lang.Double value) |
int |
compareNumericValue(T property,
java.lang.Long value) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(T p) |
java.lang.Boolean |
getBoolean(T property) |
java.lang.Boolean |
getBooleanUnchecked(T property) |
java.lang.Double |
getDouble(T property) |
java.lang.Double |
getDoubleUnchecked(T property) |
java.lang.Float |
getFloat(T property) |
java.lang.Float |
getFloatUnchecked(T property) |
java.lang.Integer |
getInteger(T property) |
java.lang.Integer |
getIntegerUnchecked(T property) |
java.lang.Long |
getLong(T property) |
java.lang.Long |
getLongUnchecked(T property) |
java.util.Map<T,java.lang.Object> |
getProperties() |
java.lang.String |
getPropertyStringValue(T property,
java.lang.String defaultValue) |
java.lang.Object |
getPropertyValue(T property) |
java.lang.Object |
getPropertyValueUnchecked(T property) |
java.lang.String |
getString(T property) |
java.lang.String |
getStringUnchecked(T property) |
boolean |
isNumericValueGT(T property,
java.lang.Double value) |
boolean |
isNumericValueGTE(T property,
java.lang.Double value) |
boolean |
isNumericValueLT(T property,
java.lang.Double value) |
boolean |
isNumericValueLTE(T property,
java.lang.Double value) |
boolean |
isPropertySet(T property) |
void |
setProperties(java.util.Map<T,java.lang.Object> properties) |
void |
setProperty(T property,
java.lang.Object value) |
public PropertyHolder(java.lang.Class<T> cls)
public void setProperty(T property, java.lang.Object value)
public java.lang.Object getPropertyValue(T property)
public boolean isPropertySet(T property)
public java.lang.Object getPropertyValueUnchecked(T property)
public java.lang.String getPropertyStringValue(T property, java.lang.String defaultValue)
public java.lang.String getStringUnchecked(T property)
public java.lang.Double getDoubleUnchecked(T property)
public java.lang.Float getFloatUnchecked(T property)
public java.lang.Integer getIntegerUnchecked(T property)
public java.lang.Long getLongUnchecked(T property)
public java.lang.Boolean getBooleanUnchecked(T property)
public java.lang.String getString(T property)
public java.lang.Double getDouble(T property)
public java.lang.Integer getInteger(T property)
public java.lang.Long getLong(T property)
public java.lang.Float getFloat(T property)
public java.lang.Boolean getBoolean(T property)
public int compareNumericValue(T property, java.lang.Double value)
public int compareNumericValue(T property, java.lang.Long value)
public boolean isNumericValueGT(T property, java.lang.Double value)
public boolean isNumericValueGTE(T property, java.lang.Double value)
public boolean isNumericValueLT(T property, java.lang.Double value)
public boolean isNumericValueLTE(T property, java.lang.Double value)
public java.util.Map<T,java.lang.Object> getProperties()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object get(T p)
public void setProperties(java.util.Map<T,java.lang.Object> properties)