Class FileTransformationParameter
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.FileTransformationParameter
-
- All Implemented Interfaces:
ICustomEquivalence
public class FileTransformationParameter extends java.lang.Object implements ICustomEquivalence
Model forSimpleTransformationParameter
.- Since:
- 6.2.0
- Version:
- $Revision$ $Date$
-
-
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(java.lang.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(java.lang.String id)
Sets the identifier.void
setImplicitValues(org.hibernate.Session session, java.util.Map<java.lang.String,java.lang.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(java.lang.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(java.lang.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, java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
Set the implicit values of the currentparameter
.- Parameters:
session
- the session to be used.map
- the mapping ofidentifier
indexed by name.- Throws:
java.lang.Exception
- if some error occur.- Since:
- 6.2.0
-
-