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