public class MetaFinderValue
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
freq |
java.lang.String |
source |
java.lang.String |
value |
Constructor and Description |
---|
MetaFinderValue() |
MetaFinderValue(MetaFinderValue o)
Copy constructor
|
MetaFinderValue(java.lang.String source,
java.lang.String value,
long freq) |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this MetaFinderValue.
|
static MetaFinderValue |
fromString(java.lang.String s)
String representation of this MetaFinderValue.
|
long |
getFreq() |
java.lang.String |
getSource() |
java.lang.String |
getValue() |
MetaFinderValue |
makeCopy()
Creates and returns a deep copy of this MetaFinderValue.
|
static MetaFinderValue |
readFrom(java.io.InputStream is)
Read this MetaFinderValue from an XML fragment.
|
void |
setFreq(long freq) |
void |
setSource(java.lang.String source) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
String representation of this MetaFinderValue.
|
MetaFinderValue |
withFreq(long freq) |
MetaFinderValue |
withFreq(java.lang.Long freq) |
MetaFinderValue |
withSource(java.lang.String source) |
MetaFinderValue |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this MetaFinderValue as an XML fragment
|
public java.lang.String source
public java.lang.String value
public long freq
public MetaFinderValue()
public MetaFinderValue(java.lang.String source, java.lang.String value, long freq)
public MetaFinderValue(MetaFinderValue o)
public void setSource(java.lang.String source)
public java.lang.String getSource()
public MetaFinderValue withSource(java.lang.String source)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public MetaFinderValue withValue(java.lang.String value)
public void setFreq(long freq)
public long getFreq()
public MetaFinderValue withFreq(long freq)
public MetaFinderValue withFreq(java.lang.Long freq)
public MetaFinderValue makeCopy()
public static MetaFinderValue 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 MetaFinderValue 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.