lumis.portal.structure.sync.model.serviceinstance
Class FileTransformationParameter

Package class diagram package FileTransformationParameter
java.lang.Object
  extended by lumis.portal.structure.sync.model.serviceinstance.FileTransformationParameter
All Implemented Interfaces:
ICustomEquivalence

public class FileTransformationParameter
extends Object
implements ICustomEquivalence

Model for SimpleTransformationParameter.

Since:
6.2.0

Nested Class Summary
static class FileTransformationParameter.FileTransformationParameterComparator
          Comparator for FileTransformationParameter.
 
Constructor Summary
FileTransformationParameter()
           
 
Method Summary
 FileTransformationParameterType getType()
          Returns the transformation 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 current parameter.
 void setToBePersisted(boolean toBePersisted)
          Sets whether this object should be persisted or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransformationParameter

public FileTransformationParameter()
Method Detail

setId

public void setId(String id)
Sets the identifier.

Parameters:
id - the identifier.
Since:
6.2.0

getType

public FileTransformationParameterType getType()
Returns the transformation 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 interface ICustomEquivalence
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 current parameter.

Parameters:
session - the session to be used.
map - the mapping of identifier indexed by name.
Throws:
Exception - if some error occur.
Since:
6.2.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.