public class DocumentInfos
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
did |
int |
indexSlice |
java.lang.String |
stamp |
java.lang.String |
url |
Constructor and Description |
---|
DocumentInfos() |
DocumentInfos(DocumentInfos o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DocumentInfos.
|
static DocumentInfos |
fromString(java.lang.String s)
String representation of this DocumentInfos.
|
int |
getDid()
Document unique identifier in the slice.
|
int |
getIndexSlice()
Slice in which the document is indexed.
|
java.lang.String |
getStamp()
Stamp of the document.
|
java.lang.String |
getUrl()
URL of the document.
|
DocumentInfos |
makeCopy()
Creates and returns a deep copy of this DocumentInfos.
|
static DocumentInfos |
readFrom(java.io.InputStream is)
Read this DocumentInfos from an XML fragment.
|
void |
setDid(int did)
Document unique identifier in the slice.
|
void |
setIndexSlice(int indexSlice)
Slice in which the document is indexed.
|
void |
setStamp(java.lang.String stamp)
Stamp of the document.
|
void |
setUrl(java.lang.String url)
URL of the document.
|
java.lang.String |
toString()
String representation of this DocumentInfos.
|
DocumentInfos |
withDid(int did) |
DocumentInfos |
withDid(java.lang.Integer did) |
DocumentInfos |
withIndexSlice(int indexSlice) |
DocumentInfos |
withIndexSlice(java.lang.Integer indexSlice) |
DocumentInfos |
withStamp(java.lang.String stamp) |
DocumentInfos |
withUrl(java.lang.String url) |
void |
writeTo(java.io.OutputStream os)
Write this DocumentInfos as an XML fragment
|
public int did
public int indexSlice
public java.lang.String url
public java.lang.String stamp
public DocumentInfos()
public DocumentInfos(DocumentInfos o)
public void setDid(int did)
public int getDid()
public DocumentInfos withDid(int did)
public DocumentInfos withDid(java.lang.Integer did)
public void setIndexSlice(int indexSlice)
public int getIndexSlice()
public DocumentInfos withIndexSlice(int indexSlice)
public DocumentInfos withIndexSlice(java.lang.Integer indexSlice)
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public DocumentInfos withUrl(java.lang.String url)
public void setStamp(java.lang.String stamp)
public java.lang.String getStamp()
public DocumentInfos withStamp(java.lang.String stamp)
public DocumentInfos makeCopy()
public static DocumentInfos 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 DocumentInfos 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.