Class PropertyConfigurable
- java.lang.Object
-
- org.palladiosimulator.commons.designpatterns.AbstractObservable<IPropertyListener>
-
- org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
-
- All Implemented Interfaces:
IAdaptable
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IPropertyListener>
,IPropertyConfigurable
- Direct Known Subclasses:
EmptyConfiguration
,ReflectivePropertyConfigurable
public abstract class PropertyConfigurable extends org.palladiosimulator.commons.designpatterns.AbstractObservable<IPropertyListener> implements IPropertyConfigurable
-
-
Constructor Summary
Constructors Constructor Description PropertyConfigurable()
PropertyConfigurable(Map<String,Object> newProperties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
getAdapter(Class adapter)
abstract Map<String,Object>
getDefaultConfiguration()
abstract Set<String>
getKeys()
protected Object
getNotSetConstant()
Map<String,Object>
getProperties()
boolean
isPropertyNotSet(String key)
void
setProperties(Map<String,Object> newProperties)
void
unsetProperty(String key)
-
Methods inherited from class org.palladiosimulator.commons.designpatterns.AbstractObservable
addObserver, getEventDispatcher, getObservers, removeAllObserver, removeObserver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
getPropertyType
-
-
-
-
Method Detail
-
getDefaultConfiguration
public abstract Map<String,Object> getDefaultConfiguration()
- Specified by:
getDefaultConfiguration
in interfaceIPropertyConfigurable
-
getKeys
public abstract Set<String> getKeys()
- Specified by:
getKeys
in interfaceIPropertyConfigurable
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interfaceIPropertyConfigurable
-
setProperties
public void setProperties(Map<String,Object> newProperties)
- Specified by:
setProperties
in interfaceIPropertyConfigurable
-
isPropertyNotSet
public boolean isPropertyNotSet(String key)
- Specified by:
isPropertyNotSet
in interfaceIPropertyConfigurable
-
unsetProperty
public void unsetProperty(String key)
- Specified by:
unsetProperty
in interfaceIPropertyConfigurable
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interfaceIAdaptable
-
getNotSetConstant
protected Object getNotSetConstant()
-
-