Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.impl
Class DefaultCell

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.impl.DefaultCell
All Implemented Interfaces:
Cell, MutableCell

public class DefaultCell
extends Object
implements Cell, MutableCell

Default implementation of an alignment cell

Author:
Simon Templer

Constructor Summary
DefaultCell()
           
 
Method Summary
 com.google.common.collect.ListMultimap<String,? extends Entity> getSource()
          Get the source entities.
 com.google.common.collect.ListMultimap<String,? extends Entity> getTarget()
          Get the target entities.
 String getTransformationIdentifier()
          Get the identifier for the transformation referenced by the cell.
 com.google.common.collect.ListMultimap<String,String> getTransformationParameters()
          Get the transformation parameters that shall be applied to the transformation specified by Cell.getTransformationIdentifier().
 void setSource(com.google.common.collect.ListMultimap<String,? extends Entity> source)
           
 void setTarget(com.google.common.collect.ListMultimap<String,? extends Entity> target)
           
 void setTransformationIdentifier(String transformation)
          Set the identifier for the transformation referenced by the cell.
 void setTransformationParameters(com.google.common.collect.ListMultimap<String,String> parameters)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultCell

public DefaultCell()
Method Detail

setTransformationIdentifier

public void setTransformationIdentifier(String transformation)
Description copied from interface: MutableCell
Set the identifier for the transformation referenced by the cell.

Specified by:
setTransformationIdentifier in interface MutableCell
Parameters:
transformation - the transformation identifier
See Also:
MutableCell.setTransformationIdentifier(java.lang.String)

setTransformationParameters

public void setTransformationParameters(com.google.common.collect.ListMultimap<String,String> parameters)
Specified by:
setTransformationParameters in interface MutableCell
Parameters:
parameters - the parameters to set
See Also:
MutableCell.setTransformationParameters(com.google.common.collect.ListMultimap)

setSource

public void setSource(com.google.common.collect.ListMultimap<String,? extends Entity> source)
Specified by:
setSource in interface MutableCell
Parameters:
source - the source to set
See Also:
MutableCell.setSource(com.google.common.collect.ListMultimap)

setTarget

public void setTarget(com.google.common.collect.ListMultimap<String,? extends Entity> target)
Specified by:
setTarget in interface MutableCell
Parameters:
target - the target to set
See Also:
MutableCell.setTarget(com.google.common.collect.ListMultimap)

getSource

public com.google.common.collect.ListMultimap<String,? extends Entity> getSource()
Description copied from interface: Cell
Get the source entities. For each the name is mapped to the entity. Multiple entities may share the same name. The map may not be modified.

Specified by:
getSource in interface Cell
Returns:
the source entities, may be null
See Also:
Cell.getSource()

getTarget

public com.google.common.collect.ListMultimap<String,? extends Entity> getTarget()
Description copied from interface: Cell
Get the target entities. For each the name is mapped to the entity. Multiple entities may share the same name. The map may not be modified.

Specified by:
getTarget in interface Cell
Returns:
the target entities
See Also:
Cell.getTarget()

getTransformationParameters

public com.google.common.collect.ListMultimap<String,String> getTransformationParameters()
Description copied from interface: Cell
Get the transformation parameters that shall be applied to the transformation specified by Cell.getTransformationIdentifier().

Specified by:
getTransformationParameters in interface Cell
Returns:
the transformation parameters, parameter names are mapped to parameter values, may be null
See Also:
Cell.getTransformationParameters()

getTransformationIdentifier

public String getTransformationIdentifier()
Description copied from interface: Cell
Get the identifier for the transformation referenced by the cell.

Specified by:
getTransformationIdentifier in interface Cell
Returns:
the transformation identifier
See Also:
Cell.getTransformationIdentifier()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d