Package lumis.portal.file.transformation
Class SimpleTransformationParameter
- java.lang.Object
-
- lumis.portal.file.transformation.SimpleTransformationParameter
-
- All Implemented Interfaces:
Serializable
,ITransformationParameter
public class SimpleTransformationParameter extends Object implements ITransformationParameter, Serializable
Simple transformation parameter is anITransformationParameter
implementation containing the minimal information, onlyIParameterType
and its value.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleTransformationParameter(IParameterType parameter, FileTransformation fileTransformation, String value)
The class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileTransformation
getFileTransformation()
Returns the fileTransformation.String
getId()
Only to be used by JPAIParameterType
getParameter()
Returns the transformation parameters.String
getValue()
Returns the transformation parameter value.void
setFileTransformation(FileTransformation fileTransformation)
Sets the fileTransformation.void
setId(String id)
Only to be used by JPAvoid
setParameter(IParameterType parameter)
Sets the transformation parameter.void
setValue(String value)
Sets the transformation value.
-
-
-
Constructor Detail
-
SimpleTransformationParameter
public SimpleTransformationParameter(IParameterType parameter, FileTransformation fileTransformation, String value)
The class constructor.- Parameters:
parameter
- the parameter Type.value
- the value.- Since:
- 6.1.0
-
-
Method Detail
-
getParameter
public IParameterType getParameter()
Returns the transformation parameters.- Specified by:
getParameter
in interfaceITransformationParameter
- Returns:
- the parameter.
- Since:
- 6.1.0
-
getValue
public String getValue()
Returns the transformation parameter value.- Specified by:
getValue
in interfaceITransformationParameter
- Returns:
- the parameter value.
- Since:
- 6.1.0
-
setParameter
public void setParameter(IParameterType parameter)
Sets the transformation parameter.- Parameters:
parameter
-- Since:
- 6.1.0
-
setValue
public void setValue(String value)
Sets the transformation value.- Parameters:
value
-- Since:
- 6.1.0
-
setFileTransformation
public void setFileTransformation(FileTransformation fileTransformation)
Sets the fileTransformation.- Parameters:
fileTransformation
- the fileTransformation value to set.- Since:
- 6.1.0
-
getFileTransformation
public FileTransformation getFileTransformation()
Returns the fileTransformation.- Returns:
- the fileTransformation
- Since:
- 6.1.0
-
getId
public String getId()
Only to be used by JPA- Specified by:
getId
in interfaceITransformationParameter
- Returns:
- the id
- Since:
- 6.1.0
-
setId
public void setId(String id)
Only to be used by JPA- Parameters:
id
-- Since:
- 6.1.0
-
-