public class GlueWSClientContentProvider.ParametersProvider extends Object implements Serializable, IUpdateableContentProvider
Constructor and Description |
---|
ParametersProvider() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getPropertyKeys()
Returns list of properties supported by this content provider.
|
Class<?> |
getType(Object parameterName)
Returns java type of the given property
|
Object |
getValue(Object parameterName)
Returns value of the given property
|
boolean |
hasProperty(Object parameterName)
Checks if the given property is supported by this content provider
|
boolean |
isReadOnly(Object parameterName)
Returns true if the given property is readonly.
|
void |
setValue(Object parameterName,
Object value)
Sets new value of the given property
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public Object[] getPropertyKeys()
IContentProvider
Object[0]
,
never null.getPropertyKeys
in interface IContentProvider
String
or Integer
public Class<?> getType(Object parameterName) throws PropertyNotFoundException
IContentProvider
getType
in interface IContentProvider
parameterName
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object parameterName) throws ELException, PropertyNotFoundException
IContentProvider
getValue
in interface IContentProvider
parameterName
- the property key of type String
or Integer
null
PropertyNotFoundException
- if property is not supportedELException
public boolean hasProperty(Object parameterName)
IContentProvider
hasProperty
in interface IContentProvider
parameterName
- property key of type String
or Integer
true
if property is supportedpublic boolean isReadOnly(Object parameterName) throws ELException, PropertyNotFoundException
IUpdateableContentProvider
Returns true if the given property is readonly. If it is readonly, IUpdateableContentProvider.setValue(Object, Object)
will
definitely fail.
isReadOnly
in interface IUpdateableContentProvider
parameterName
- property key of type String
or Integer
PropertyNotFoundException
ELException
public void setValue(Object parameterName, Object value) throws ELException, PropertyNotFoundException
IUpdateableContentProvider
Sets new value of the given property
setValue
in interface IUpdateableContentProvider
parameterName
- property key of type String
or Integer
value
- new property valuePropertyNotFoundException
- if property is not foundELException