Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.io.impl.internal
Class CellBean

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.io.impl.internal.CellBean

public class CellBean
extends Object

Bean representing a Cell

Author:
Simon Templer

Constructor Summary
CellBean()
          Default constructor.
CellBean(Cell cell)
          Create a cell bean based on the given cell
 
Method Summary
 MutableCell createCell(IOReporter reporter, TypeIndex sourceTypes, TypeIndex targetTypes)
          Create a cell based on the information in the cell bean if possible.
 List<NamedEntityBean> getSource()
          Get the source entities
 List<NamedEntityBean> getTarget()
          Get the target entities
 String getTransformationIdentifier()
          Get the transformation identifier
 List<ParameterValue> getTransformationParameters()
          Get the transformation parameters
 void setSource(List<NamedEntityBean> source)
          Set the source entities
 void setTarget(List<NamedEntityBean> target)
          Set the target entities
 void setTransformationIdentifier(String transformationIdentifier)
          Set the transformation identifier
 void setTransformationParameters(List<ParameterValue> transformationParameters)
          Set the transformation parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellBean

public CellBean()
Default constructor. Creates an empty cell bean.


CellBean

public CellBean(Cell cell)
Create a cell bean based on the given cell

Parameters:
cell - the cell
Method Detail

createCell

public MutableCell createCell(IOReporter reporter,
                              TypeIndex sourceTypes,
                              TypeIndex targetTypes)
Create a cell based on the information in the cell bean if possible. Otherwise a corresponding error message should be added to the report.

Parameters:
reporter - the I/O reporter to report any errors to, may be null
sourceTypes - the source types to use for resolving definition references
targetTypes - the target types to use for resolving definition references
Returns:
the created cell or null

getSource

public List<NamedEntityBean> getSource()
Get the source entities

Returns:
the source entities

setSource

public void setSource(List<NamedEntityBean> source)
Set the source entities

Parameters:
source - the source entities to set

getTarget

public List<NamedEntityBean> getTarget()
Get the target entities

Returns:
the target

setTarget

public void setTarget(List<NamedEntityBean> target)
Set the target entities

Parameters:
target - the target entities to set

getTransformationParameters

public List<ParameterValue> getTransformationParameters()
Get the transformation parameters

Returns:
the transformation parameters

setTransformationParameters

public void setTransformationParameters(List<ParameterValue> transformationParameters)
Set the transformation parameters

Parameters:
transformationParameters - the transformation parameters to set

getTransformationIdentifier

public String getTransformationIdentifier()
Get the transformation identifier

Returns:
the transformation identifier

setTransformationIdentifier

public void setTransformationIdentifier(String transformationIdentifier)
Set the transformation identifier

Parameters:
transformationIdentifier - the transformation identifier to set

Humboldt Alignment Editor 2.5.0

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