public class DerivationRecord
extends java.lang.Object
History:
Constructor and Description |
---|
DerivationRecord(java.lang.String source,
int sourceCat,
java.lang.String target,
int targetCat)
Create a derivation record, using source term, source category,
target term, and target category.
|
DerivationRecord(java.lang.String source,
int sourceCat,
java.lang.String sourceEui,
java.lang.String target,
int targetCat,
java.lang.String targetEui,
java.lang.String dType,
java.lang.String negation,
java.lang.String prefix)
Create a derivation record, using source term, source category,
target term, and target category.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
GetDerivationType()
Get the derivation type of the dPair.
|
java.lang.String |
GetNegation()
Get the negation of the dPair.
|
java.lang.String |
GetPrefix()
Get the prefix of the dPair.
|
java.lang.String |
GetPureString(java.lang.String fs)
Get the whole record in a pure string format.
|
java.lang.String |
GetSource()
Get the string value of source term from current derivation record.
|
int |
GetSourceCat()
Get the source category from current derivation record.
|
java.lang.String |
GetSourceEui()
Get the source EUI from current derivation record.
|
java.lang.String |
GetString(java.lang.String fs)
Get the whole record in a string format.
|
java.lang.String |
GetTarget()
Get the string value of target term from current derivation record.
|
int |
GetTargetCat()
Get the target category from current derivation record.
|
java.lang.String |
GetTargetEui()
Get the target EUI from current derivation record.
|
public DerivationRecord(java.lang.String source, int sourceCat, java.lang.String target, int targetCat)
source
- input source stringsourceCat
- input source categorytarget
- output target stringtargetCat
- output target categorypublic DerivationRecord(java.lang.String source, int sourceCat, java.lang.String sourceEui, java.lang.String target, int targetCat, java.lang.String targetEui, java.lang.String dType, java.lang.String negation, java.lang.String prefix)
source
- input source stringsourceCat
- input source categorysourceEui
- input source EUItarget
- output target stringtargetCat
- output target categorytargetEui
- input target EUIdType
- derivatin type - P|S|Znegation
- - negation - N|Oprefix
- prefix for derivation, none for S|Zpublic java.lang.String GetSource()
public java.lang.String GetTarget()
public int GetSourceCat()
public int GetTargetCat()
public java.lang.String GetTargetEui()
public java.lang.String GetSourceEui()
public java.lang.String GetDerivationType()
public java.lang.String GetNegation()
public java.lang.String GetPrefix()
public java.lang.String GetString(java.lang.String fs)
fs
- field separatorpublic java.lang.String GetPureString(java.lang.String fs)
fs
- field separator