public class NumericalRange
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
beg |
long |
end |
java.lang.String |
text |
Constructor and Description |
---|
NumericalRange() |
NumericalRange(NumericalRange o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this NumericalRange.
|
static NumericalRange |
fromString(java.lang.String s)
String representation of this NumericalRange.
|
long |
getBeg()
The lower bound.
|
long |
getEnd()
The upper bound.
|
java.lang.String |
getText()
The associated text.
|
NumericalRange |
makeCopy()
Creates and returns a deep copy of this NumericalRange.
|
static NumericalRange |
readFrom(java.io.InputStream is)
Read this NumericalRange from an XML fragment.
|
void |
setBeg(long beg)
The lower bound.
|
void |
setEnd(long end)
The upper bound.
|
void |
setText(java.lang.String text)
The associated text.
|
java.lang.String |
toString()
String representation of this NumericalRange.
|
NumericalRange |
withBeg(long beg) |
NumericalRange |
withBeg(java.lang.Long beg) |
NumericalRange |
withEnd(long end) |
NumericalRange |
withEnd(java.lang.Long end) |
NumericalRange |
withText(java.lang.String text) |
void |
writeTo(java.io.OutputStream os)
Write this NumericalRange as an XML fragment
|
public NumericalRange()
public NumericalRange(NumericalRange o)
public void setBeg(long beg)
public long getBeg()
public NumericalRange withBeg(long beg)
public NumericalRange withBeg(java.lang.Long beg)
public void setEnd(long end)
public long getEnd()
public NumericalRange withEnd(long end)
public NumericalRange withEnd(java.lang.Long end)
public void setText(java.lang.String text)
public java.lang.String getText()
public NumericalRange withText(java.lang.String text)
public NumericalRange makeCopy()
public static NumericalRange 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 NumericalRange 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.