public class InheritedData extends java.lang.Object implements IWithInheritedData
IWithInheritedData interface.| Constructor and Description |
|---|
InheritedData()
Creates a InheritedData object with default values.
|
InheritedData(InheritedData original)
Creates a new InheritedData object from an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotatorsRef |
getAnnotatorsRef()
Gets the annotators-references for this object.
|
boolean |
getCanResegment()
Indicates if this object can be re-segmented by default.
|
Directionality |
getSourceDir() |
Directionality |
getTargetDir() |
boolean |
getTranslate()
Indicates if this object has translatable content by default.
|
void |
setAnnotatorsRef(AnnotatorsRef annotators)
Sets the annotators-references for this object.
|
void |
setCanResegment(boolean canResegment)
Sets the flag indicating if this object can be re-segmented by default.
|
void |
setInheritableData(IWithInheritedData original)
Sets all the data from a given object.
|
void |
setSourceDir(Directionality dir) |
void |
setTargetDir(Directionality dir) |
void |
setTranslate(boolean translate)
Sets the flag indicating if this object has translatable content by default.
|
public InheritedData()
public InheritedData(InheritedData original)
original - the InheritedData object to get the data from.public void setInheritableData(IWithInheritedData original)
setInheritableData in interface IWithInheritedDataoriginal - the object from which to get the data.public boolean getCanResegment()
IWithInheritedDatagetCanResegment in interface IWithInheritedDatapublic void setCanResegment(boolean canResegment)
IWithInheritedDatasetCanResegment in interface IWithInheritedDatacanResegment - true if this object can be re-segmented by default, false otherwise.public boolean getTranslate()
IWithInheritedDatagetTranslate in interface IWithInheritedDatapublic void setTranslate(boolean translate)
IWithInheritedDatasetTranslate in interface IWithInheritedDatatranslate - true if this object has translatable content by default, false otherwise.public Directionality getSourceDir()
getSourceDir in interface IWithInheritedDatapublic void setSourceDir(Directionality dir)
setSourceDir in interface IWithInheritedDatapublic Directionality getTargetDir()
getTargetDir in interface IWithInheritedDatapublic void setTargetDir(Directionality dir)
setTargetDir in interface IWithInheritedDatapublic AnnotatorsRef getAnnotatorsRef()
IWithInheritedDatagetAnnotatorsRef in interface IWithInheritedDatapublic void setAnnotatorsRef(AnnotatorsRef annotators)
IWithInheritedDatasetAnnotatorsRef in interface IWithInheritedDataannotators - the new annotators-references for this object (can be null).