public abstract class ParameterizedItemImpl extends Object implements ParameterizedItem, Serializable
Constructor and Description |
---|
ParameterizedItemImpl(String id)
Constructor
|
ParameterizedItemImpl(String id,
Map<String,Serializable> parameterValues)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equals implementation
|
String |
getId()
Unique identifier for the parameterized item
|
Serializable |
getParameterValue(String name)
Get value of a named parameter.
|
Map<String,Serializable> |
getParameterValues()
Get the parameter values
|
int |
hashCode()
Hash code implementation
|
void |
setParameterValue(String name,
Serializable value)
Sets the value of a parameter.
|
void |
setParameterValues(Map<String,Serializable> parameterValues)
Sets the parameter values
|
public ParameterizedItemImpl(String id)
id
- the idpublic ParameterizedItemImpl(String id, Map<String,Serializable> parameterValues)
id
- the rule itemparameterValues
- the parameter valuespublic String getId()
ParameterizedItem
getId
in interface ParameterizedItem
ParameterizedItem.getId()
public Map<String,Serializable> getParameterValues()
ParameterizedItem
getParameterValues
in interface ParameterizedItem
ParameterizedItem.getParameterValues()
public Serializable getParameterValue(String name)
ParameterizedItem
getParameterValue
in interface ParameterizedItem
name
- the parameter nameParameterizedItem.getParameterValue(String)
public void setParameterValues(Map<String,Serializable> parameterValues)
ParameterizedItem
setParameterValues
in interface ParameterizedItem
parameterValues
- the parameter valuesParameterizedItem.setParameterValues(java.util.Map)
public void setParameterValue(String name, Serializable value)
ParameterizedItem
setParameterValue
in interface ParameterizedItem
name
- the parameter namevalue
- the parameter valueParameterizedItem.setParameterValue(String, Serializable)
Copyright © 2005–2017 Alfresco Software. All rights reserved.