public abstract class AbstractAttributes extends Object implements Attributes
| Constructor and Description |
|---|
AbstractAttributes() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
get(String name) |
Boolean |
getBoolean(String name) |
Date |
getDate(String name) |
Double |
getDouble(String name) |
Integer |
getInteger(String name) |
Object |
getObject(String name) |
String |
getString(String name) |
ValueType<?> |
getType(String name) |
<T> T |
getValue(Key<T> key) |
<T> T |
getValue(Key<T> key,
T defaultValue) |
protected abstract void |
set(String name,
Object o) |
void |
setBoolean(String name,
Boolean value) |
void |
setDate(String name,
Date value) |
void |
setDouble(String name,
Double value) |
void |
setInteger(String name,
Integer value) |
<T> void |
setObject(String name,
T value) |
void |
setString(String name,
String value) |
<T> void |
setValue(Key<T> key,
T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyspublic final Object getObject(String name)
getObject in interface Attributespublic final <T> void setObject(String name, T value)
setObject in interface Attributespublic final ValueType<?> getType(String name)
getType in interface Attributespublic final String getString(String name)
getString in interface Attributespublic final void setString(String name, String value)
setString in interface Attributespublic final Boolean getBoolean(String name)
getBoolean in interface Attributespublic final void setBoolean(String name, Boolean value)
setBoolean in interface Attributespublic final Integer getInteger(String name)
getInteger in interface Attributespublic final void setInteger(String name, Integer value)
setInteger in interface Attributespublic final Date getDate(String name)
getDate in interface Attributespublic final void setDate(String name, Date value)
setDate in interface Attributespublic final Double getDouble(String name)
getDouble in interface Attributespublic final void setDouble(String name, Double value)
setDouble in interface Attributespublic final <T> T getValue(Key<T> key, T defaultValue)
getValue in interface Attributespublic final <T> T getValue(Key<T> key)
getValue in interface Attributespublic final <T> void setValue(Key<T> key, T value)
setValue in interface AttributesCopyright © 2025 JBoss by Red Hat. All Rights Reserved.