public interface Cell
Modifier and Type | Field and Description |
---|---|
static TransformationMode |
DEFAULT_TRANSFORMATION_MODE
The default transformation mode.
|
static String |
PROPERTY_DISABLE_FOR
Property name for disabled for.
|
static String |
PROPERTY_ENABLE_FOR
Property name for enabling a disabled cell again.
|
static String |
PROPERTY_PRIORITY
Property name for
Priority . |
static String |
PROPERTY_TRANSFORMATION_MODE
Property name for the
TransformationMode . |
Modifier and Type | Method and Description |
---|---|
Object |
addAnnotation(String type)
Add a new annotation object.
|
List<?> |
getAnnotations(String type)
Get the annotations of the given type.
|
Set<String> |
getAnnotationTypes()
Get the annotation types present in the cell.
|
Set<Cell> |
getDisabledFor()
Returns the cells this cell is disabled for.
|
com.google.common.collect.ListMultimap<String,String> |
getDocumentation()
Get the cell documentation.
|
String |
getId()
Get the id for identifying the cell.
|
Priority |
getPriority()
Returns the priority for the cell.
|
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.
|
TransformationMode |
getTransformationMode()
Get the cell transformation mode.
|
com.google.common.collect.ListMultimap<String,ParameterValue> |
getTransformationParameters()
Get the transformation parameters that shall be applied to the
transformation specified by
getTransformationIdentifier() . |
boolean |
isBaseCell()
Returns whether the cell is included from a base alignment or not.
|
void |
removeAnnotation(String type,
Object annotation)
Remove the given annotation object.
|
static final String PROPERTY_PRIORITY
Priority
.static final String PROPERTY_TRANSFORMATION_MODE
TransformationMode
.static final TransformationMode DEFAULT_TRANSFORMATION_MODE
static final String PROPERTY_DISABLE_FOR
static final String PROPERTY_ENABLE_FOR
com.google.common.collect.ListMultimap<String,? extends Entity> getSource()
null
com.google.common.collect.ListMultimap<String,? extends Entity> getTarget()
com.google.common.collect.ListMultimap<String,ParameterValue> getTransformationParameters()
getTransformationIdentifier()
. The
map may not be modified.null
List<?> getAnnotations(String type)
type
- the annotation type identifier as registered in the
corresponding extension pointSet<String> getAnnotationTypes()
Object addAnnotation(String type)
AnnotationDescriptor
registered for the given
type identifier.type
- the annotation type identifier as registered in the
corresponding extension pointAnnotationDescriptor.create()
or null
if no
annotation definition with that type identifier existsvoid removeAnnotation(String type, Object annotation)
type
- the annotation type identifier as registered in the
corresponding extension pointannotation
- the annotation object associated to the annotation type
that should be removedcom.google.common.collect.ListMultimap<String,String> getDocumentation()
String getTransformationIdentifier()
String getId()
Set<Cell> getDisabledFor()
TransformationMode getTransformationMode()
boolean isBaseCell()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a