|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.util.PropertyHolder
public abstract class PropertyHolder
An abstract holder class for properties.
Constructor Summary | |
---|---|
PropertyHolder()
|
Method Summary | ||
---|---|---|
void |
copyProperties(PropertyHolder other)
Copy all properties from another property holder to this one. |
|
|
getProperty(Property<T> property)
Retrieves a property value. |
|
void |
setProperty(Property<?> property,
Object value)
Sets a property value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyHolder()
Method Detail |
---|
public void setProperty(Property<?> property, Object value)
property
- the property to setvalue
- the new valuepublic <T> T getProperty(Property<T> property)
T
- type of propertyproperty
- the property to get
public void copyProperties(PropertyHolder other)
other
- another property holder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |