public class TopOpenedDoc
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
count |
java.lang.String |
fileName |
java.lang.String |
uri |
Constructor and Description |
---|
TopOpenedDoc() |
TopOpenedDoc(TopOpenedDoc o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this TopOpenedDoc.
|
static TopOpenedDoc |
fromString(java.lang.String s)
String representation of this TopOpenedDoc.
|
long |
getCount()
The number of times the document was opened.
|
java.lang.String |
getFileName()
The document's file name.
|
java.lang.String |
getUri()
The document's URI.
|
TopOpenedDoc |
makeCopy()
Creates and returns a deep copy of this TopOpenedDoc.
|
static TopOpenedDoc |
readFrom(java.io.InputStream is)
Read this TopOpenedDoc from an XML fragment.
|
void |
setCount(long count)
The number of times the document was opened.
|
void |
setFileName(java.lang.String fileName)
The document's file name.
|
void |
setUri(java.lang.String uri)
The document's URI.
|
java.lang.String |
toString()
String representation of this TopOpenedDoc.
|
TopOpenedDoc |
withCount(long count) |
TopOpenedDoc |
withCount(java.lang.Long count) |
TopOpenedDoc |
withFileName(java.lang.String fileName) |
TopOpenedDoc |
withUri(java.lang.String uri) |
void |
writeTo(java.io.OutputStream os)
Write this TopOpenedDoc as an XML fragment
|
public java.lang.String uri
public java.lang.String fileName
public long count
public TopOpenedDoc()
public TopOpenedDoc(TopOpenedDoc o)
public void setUri(java.lang.String uri)
public java.lang.String getUri()
public TopOpenedDoc withUri(java.lang.String uri)
public void setFileName(java.lang.String fileName)
public java.lang.String getFileName()
public TopOpenedDoc withFileName(java.lang.String fileName)
public void setCount(long count)
public long getCount()
public TopOpenedDoc withCount(long count)
public TopOpenedDoc withCount(java.lang.Long count)
public TopOpenedDoc makeCopy()
public static TopOpenedDoc 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 TopOpenedDoc 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.