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