ObjectType
- The type of object whose parameters can be adapted.DataType
- The type of data that the object gets to adapt parameters.public interface ParameterAdaptable<ObjectType,DataType>
Modifier and Type | Method and Description |
---|---|
void |
addParameterAdapter(ParameterAdapter<? super ObjectType,? super DataType> parameterAdapter)
Adds the given parameter adapter to this object.
|
java.util.Collection<ParameterAdapter<? super ObjectType,? super DataType>> |
getParameterAdapters()
Gets the collection of parameter adapters attached to this object.
|
void |
removeParameterAdapter(ParameterAdapter<? super ObjectType,? super DataType> parameterAdapter)
Removes the given parameter adapter from this object.
|
void addParameterAdapter(ParameterAdapter<? super ObjectType,? super DataType> parameterAdapter)
parameterAdapter
- The parameter adapter to add.void removeParameterAdapter(ParameterAdapter<? super ObjectType,? super DataType> parameterAdapter)
parameterAdapter
- The parameter adapter to remove.java.util.Collection<ParameterAdapter<? super ObjectType,? super DataType>> getParameterAdapters()