Class FileTransformationParameter
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.FileTransformationParameter
-
- All Implemented Interfaces:
ICustomEquivalence
public class FileTransformationParameter extends Object implements ICustomEquivalence
Model forSimpleTransformationParameter
.- Since:
- 6.2.0
- Version:
- $Revision: 17196 $ $Date: 2015-04-02 11:06:48 -0300 (Thu, 02 Apr 2015) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileTransformationParameter.FileTransformationParameterComparator
Comparator forFileTransformationParameter
.
-
Constructor Summary
Constructors Constructor Description FileTransformationParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileTransformationParameterType
getType()
Returns thetransformation parameter type
.boolean
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object.boolean
isToBePersisted()
Returns whether this object should be persisted or not.void
setId(String id)
Sets the identifier.void
setImplicitValues(org.hibernate.Session session, Map<String,String> map)
Set the implicit values of the currentparameter
.void
setToBePersisted(boolean toBePersisted)
Sets whether this object should be persisted or not.
-
-
-
Method Detail
-
setId
public void setId(String id)
Sets the identifier.- Parameters:
id
- the identifier.- Since:
- 6.2.0
-
getType
public FileTransformationParameterType getType()
Returns thetransformation parameter type
.- Returns:
- the
transformation parameter type
. - Since:
- 6.2.0
-
isToBePersisted
public boolean isToBePersisted()
Returns whether this object should be persisted or not.- Returns:
- whether this object should be persisted or not.
- Since:
- 6.2.0
-
setToBePersisted
public void setToBePersisted(boolean toBePersisted)
Sets whether this object should be persisted or not.- Parameters:
toBePersisted
- indicates whether this object should be persisted or not.- Since:
- 6.2.0
-
isEquivalent
public boolean isEquivalent(Object obj)
Description copied from interface:ICustomEquivalence
Returns whether this object is equivalent to the given object. If the object is equivalent, it will not need to be updated during synchronization.- Specified by:
isEquivalent
in interfaceICustomEquivalence
- Parameters:
obj
- the object to compare with.- Returns:
- true if the objects are equivalent, false otherwise.
-
setImplicitValues
public void setImplicitValues(org.hibernate.Session session, Map<String,String> map) throws Exception
Set the implicit values of the currentparameter
.- Parameters:
session
- the session to be used.map
- the mapping ofidentifier
indexed by name.- Throws:
Exception
- if some error occur.- Since:
- 6.2.0
-
-