de.folt.models.datamodel.phrasetranslate
Class PhraseTranslateResult
java.lang.Object
de.folt.models.datamodel.phrasetranslate.PhraseTranslateResult
- All Implemented Interfaces:
- java.lang.Comparable<PhraseTranslateResult>
public class PhraseTranslateResult
- extends java.lang.Object
- implements java.lang.Comparable<PhraseTranslateResult>
- Author:
- klemens To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhraseTranslateResult
public PhraseTranslateResult()
PhraseTranslateResult
public PhraseTranslateResult(int startPosition,
java.lang.Long[] longPhrase,
java.lang.String targetPhrase)
- Parameters:
startPosition - the start position of this match in the corresponding search
phraselongPhrase - the long Arraya version of the source pharse matchingtargetPhrase - the translation of the match
PhraseTranslateResult
public PhraseTranslateResult(int iStartPositioni,
java.lang.String longsearch,
java.lang.String targetPhrase)
- Parameters:
iStartPositioni - longsearch - targetPhrase -
PhraseTranslateResult
public PhraseTranslateResult(java.lang.Long[] longPhrase,
java.lang.String targetPhrase)
- Parameters:
longPhrase - targetPhrase -
PhraseTranslateResult
public PhraseTranslateResult(java.lang.Long[] longPhrase,
java.lang.String sourcePhrase,
java.lang.String targetPhrase)
- Parameters:
longPhrase - the long Array version of the source pharse matchingsourcePhrase - the source string of the matchtargetPhrase - the translation of the match
compareTo
public int compareTo(PhraseTranslateResult o)
- Specified by:
compareTo in interface java.lang.Comparable<PhraseTranslateResult>
getiStartPosition
public int getiStartPosition()
getIStartPosition
public int getIStartPosition()
- Returns:
- the iStartPosition
getLongPhrase
public java.lang.Long[] getLongPhrase()
- Returns:
- the longPhrase
getSepChar
public char getSepChar()
- Returns:
- the sepChar
getSourcePhrase
public java.lang.String getSourcePhrase()
- Returns:
- the sourcePhrase
getSourceTargetSepString
public java.lang.String getSourceTargetSepString()
getSourceTargetUniqueId
public java.lang.String getSourceTargetUniqueId()
getTargetPhrase
public java.lang.String getTargetPhrase()
- Returns:
- the targetPhrase
setSourceTargetUniqueId
public void setSourceTargetUniqueId(java.lang.String sourceUniqueId)
setiStartPosition
public void setiStartPosition(int iStartPosition)
setIStartPosition
public void setIStartPosition(int iStartPosition)
- Parameters:
iStartPosition - the iStartPosition to set
setLongPhrase
public void setLongPhrase(java.lang.Long[] longPhrase)
- Parameters:
longPhrase - the longPhrase to set
setSepChar
public void setSepChar(char sepChar)
- Parameters:
sepChar - the sepChar to set
setSourcePhrase
public void setSourcePhrase(java.lang.String sourcePhrase)
- Parameters:
sourcePhrase - the sourcePhrase to set
setSourceTargetSepString
public void setSourceTargetSepString(java.lang.String sourceTargetSepString)
setTargetPhrase
public void setTargetPhrase(java.lang.String targetPhrase)
- Parameters:
targetPhrase - the targetPhrase to set
stringify
public java.lang.String stringify()
- Returns: