ch.tatool.core.element
Class AbstractPropertyHolder

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
All Implemented Interfaces:
PropertyHolder
Direct Known Subclasses:
NodeImpl

public abstract class AbstractPropertyHolder
extends Object
implements PropertyHolder

Default implementation of a property holder.


Constructor Summary
AbstractPropertyHolder()
           
 
Method Summary
 void clearProperties()
          Clear all properties
 Set<String> getKeys()
          Get all properties contained in this holder
 Object getProperty(String name)
           
 void removeProperty(String name)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.data.PropertyHolder
getId
 

Constructor Detail

AbstractPropertyHolder

public AbstractPropertyHolder()
Method Detail

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface PropertyHolder

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface PropertyHolder

removeProperty

public void removeProperty(String name)
Specified by:
removeProperty in interface PropertyHolder

getKeys

public Set<String> getKeys()
Get all properties contained in this holder

Specified by:
getKeys in interface PropertyHolder

clearProperties

public void clearProperties()
Clear all properties

Specified by:
clearProperties in interface PropertyHolder


Copyright © 2012. All Rights Reserved.