de.folt.models.datamodel
Class TranslationCheckResult
java.lang.Object
de.folt.models.datamodel.TranslationCheckResult
public class TranslationCheckResult
- extends java.lang.Object
This class is a data structure which is mainly intended to contain the result of a source/ target segment combination search. A key element is the status.
Currently four stati are supported:
NEW = the source target combination is not contained in the data source
SOURCEFOUND = the source is contained in the data source
TARGETFOUND = the target is contained in the data source
SOURCEANDTARGETFOUND = the source target combination is contained in the data source
The Vector MultiLingualObject matches contains the matching entries from the data source
- Author:
- klemens
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslationCheckResult
public TranslationCheckResult()
getSourceAndTargetSegmentMatches
public java.util.Vector<MultiLingualObject> getSourceAndTargetSegmentMatches()
- Returns:
- the sourceAndTargetSegmentMatches
setSourceAndTargetSegmentMatches
public void setSourceAndTargetSegmentMatches(java.util.Vector<MultiLingualObject> sourceAndTargetSegmentMatches)
- Parameters:
sourceAndTargetSegmentMatches - the sourceAndTargetSegmentMatches to set
getSourceSegmentMatches
public java.util.Vector<MultiLingualObject> getSourceSegmentMatches()
- Returns:
- the sourceSegmentMatches
getStatus
public TranslationCheckResult.TranslationCheckStatus getStatus()
- Returns:
- the status which is one of the following TranslationCheckResult.TranslationCheckStatus.NEW, SOURCEFOUND, TARGETFOUND, SOURCEANDTARGETFOUND
getTargetSegmentMatches
public java.util.Vector<MultiLingualObject> getTargetSegmentMatches()
- Returns:
- the targetSegmentMatches
setSourceSegmentMatches
public void setSourceSegmentMatches(java.util.Vector<MultiLingualObject> sourceSegmentMatches)
- Parameters:
sourceSegmentMatches - the sourceSegmentMatches to set
setStatus
public void setStatus(TranslationCheckResult.TranslationCheckStatus status)
- Parameters:
status - the status to set which is one of the following .TranslationCheckResultTranslationCheckStatus.NEW, SOURCEFOUND, TARGETFOUND, SOURCEANDTARGETFOUND
setTargetSegmentMatches
public void setTargetSegmentMatches(java.util.Vector<MultiLingualObject> targetSegmentMatches)
- Parameters:
targetSegmentMatches - the targetSegmentMatches to set