public class WordCountMapping
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fromName |
java.lang.String |
toName |
Constructor and Description |
---|
WordCountMapping() |
WordCountMapping(WordCountMapping o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this WordCountMapping.
|
static WordCountMapping |
fromString(java.lang.String s)
String representation of this WordCountMapping.
|
java.lang.String |
getFromName()
Compute the word count of this field.
|
java.lang.String |
getToName()
Store the word count to this field.
|
WordCountMapping |
makeCopy()
Creates and returns a deep copy of this WordCountMapping.
|
static WordCountMapping |
readFrom(java.io.InputStream is)
Read this WordCountMapping from an XML fragment.
|
void |
setFromName(java.lang.String fromName)
Compute the word count of this field.
|
void |
setToName(java.lang.String toName)
Store the word count to this field.
|
java.lang.String |
toString()
String representation of this WordCountMapping.
|
WordCountMapping |
withFromName(java.lang.String fromName) |
WordCountMapping |
withToName(java.lang.String toName) |
void |
writeTo(java.io.OutputStream os)
Write this WordCountMapping as an XML fragment
|
public WordCountMapping()
public WordCountMapping(WordCountMapping o)
public void setFromName(java.lang.String fromName)
public java.lang.String getFromName()
public WordCountMapping withFromName(java.lang.String fromName)
public void setToName(java.lang.String toName)
public java.lang.String getToName()
public WordCountMapping withToName(java.lang.String toName)
public WordCountMapping makeCopy()
public static WordCountMapping 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 WordCountMapping 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 © 2021 Dassault Systèmes, All Rights Reserved.