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