| java.lang.Object org.restlet.data.Preference
Preference | final public class Preference (Code) | | Metadata preference definition.
author: Jerome Louvel (contact@noelios.com) |
Preference | public Preference()(Code) | | Constructor.
|
Preference | public Preference(T metadata)(Code) | | Constructor.
Parameters: metadata - The associated metadata. |
Preference | public Preference(T metadata, float quality)(Code) | | Constructor.
Parameters: metadata - The associated metadata. Parameters: quality - The quality/preference level. |
Preference | public Preference(T metadata, float quality, Series<Parameter> parameters)(Code) | | Constructor.
Parameters: metadata - The associated metadata. Parameters: quality - The quality/preference level. Parameters: parameters - The list of parameters. |
getMetadata | public T getMetadata()(Code) | | Returns the metadata associated with this preference.
The metadata associated with this preference. |
getParameters | public Series<Parameter> getParameters()(Code) | | Returns the modifiable list of parameters.
The modifiable list of parameters. |
getQuality | public float getQuality()(Code) | | Returns the quality/preference level.
The quality/preference level. |
setMetadata | public void setMetadata(T metadata)(Code) | | Sets the metadata associated with this preference.
Parameters: metadata - The metadata associated with this preference. |
setQuality | public void setQuality(float quality)(Code) | | Sets the quality/preference level.
Parameters: quality - The quality/preference level. |
|
|