public class Lemma
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Lemma.Inflecteds |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TRUST_LEVEL |
protected Lemma.Inflecteds |
inflecteds |
java.lang.String |
pos |
int |
trustLevel |
java.lang.String |
value |
Constructor and Description |
---|
Lemma() |
Lemma(Lemma o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Lemma.
|
static Lemma |
fromString(java.lang.String s)
String representation of this Lemma.
|
Lemma.Inflecteds |
getInflecteds() |
java.lang.String |
getPos() |
int |
getTrustLevel() |
java.lang.String |
getValue() |
Lemma |
makeCopy()
Creates and returns a deep copy of this Lemma.
|
static Lemma |
readFrom(java.io.InputStream is)
Read this Lemma from an XML fragment.
|
void |
setInflecteds(Lemma.Inflecteds __value) |
void |
setPos(java.lang.String pos) |
void |
setTrustLevel(int trustLevel) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
String representation of this Lemma.
|
Lemma |
withInflecteds(java.util.Collection<Inflected> __values) |
Lemma |
withInflecteds(Inflected... __values) |
Lemma |
withInflecteds(Lemma.Inflecteds __value) |
Lemma |
withPos(java.lang.String pos) |
Lemma |
withTrustLevel(int trustLevel) |
Lemma |
withTrustLevel(java.lang.Integer trustLevel) |
Lemma |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this Lemma as an XML fragment
|
public java.lang.String value
public java.lang.String pos
public int trustLevel
public static final int DEFAULT_TRUST_LEVEL
protected Lemma.Inflecteds inflecteds
public Lemma()
public Lemma(Lemma o)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public Lemma withValue(java.lang.String value)
public void setPos(java.lang.String pos)
public java.lang.String getPos()
public Lemma withPos(java.lang.String pos)
public void setTrustLevel(int trustLevel)
public int getTrustLevel()
public Lemma withTrustLevel(int trustLevel)
public Lemma withTrustLevel(java.lang.Integer trustLevel)
public Lemma.Inflecteds getInflecteds()
public void setInflecteds(Lemma.Inflecteds __value)
public Lemma withInflecteds(Lemma.Inflecteds __value)
public Lemma makeCopy()
public static Lemma readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static Lemma fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.