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