public class SnapshotCount
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
count |
java.lang.String |
instance |
java.lang.String |
name |
Constructor and Description |
---|
SnapshotCount() |
SnapshotCount(SnapshotCount o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SnapshotCount.
|
static SnapshotCount |
fromString(java.lang.String s)
String representation of this SnapshotCount.
|
long |
getCount()
Count of the number of valid documents for the source
|
java.lang.String |
getInstance()
Replay server instance.
|
java.lang.String |
getName()
Name of the source
|
SnapshotCount |
makeCopy()
Creates and returns a deep copy of this SnapshotCount.
|
static SnapshotCount |
readFrom(java.io.InputStream is)
Read this SnapshotCount from an XML fragment.
|
void |
setCount(long count)
Count of the number of valid documents for the source
|
void |
setInstance(java.lang.String instance)
Replay server instance.
|
void |
setName(java.lang.String name)
Name of the source
|
java.lang.String |
toString()
String representation of this SnapshotCount.
|
SnapshotCount |
withCount(long count) |
SnapshotCount |
withCount(java.lang.Long count) |
SnapshotCount |
withInstance(java.lang.String instance) |
SnapshotCount |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this SnapshotCount as an XML fragment
|
public java.lang.String instance
public java.lang.String name
public long count
public SnapshotCount()
public SnapshotCount(SnapshotCount o)
public void setInstance(java.lang.String instance)
public java.lang.String getInstance()
public SnapshotCount withInstance(java.lang.String instance)
public void setName(java.lang.String name)
public java.lang.String getName()
public SnapshotCount withName(java.lang.String name)
public void setCount(long count)
public long getCount()
public SnapshotCount withCount(long count)
public SnapshotCount withCount(java.lang.Long count)
public SnapshotCount makeCopy()
public static SnapshotCount 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 SnapshotCount 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.