public class PublicationSize
extends java.lang.Object
ConsolidatorManager,
DownloadInfo| Modifier and Type | Method and Description |
|---|---|
int |
getNumOfRows()
Return the number of rows of the publication item that are to be synchronized.
|
java.lang.String |
getPubItemName()
Return the name of the publication item that this refers to.
|
java.lang.String |
getPubName()
Return the name of the publication that this refers to.
|
long |
getSize()
Return the total size of the publication item that this refers to.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a string representation of this object.
|
public int getNumOfRows()
Example:
ConsolidatorManager cm = new ConsolidatorManager();
DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true);
Iterator it = dlInfo.iterator ();
PublicationSize ps = it.next ();
int numOfRows = ps.getNumOfRows ();
public java.lang.String getPubItemName()
Example:
ConsolidatorManager cm = new ConsolidatorManager();
DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true);
Iterator it = dlInfo.iterator ();
PublicationSize ps = it.next ();
String pubItemName = ps.getPubItemName ();
public java.lang.String getPubName()
Example:
ConsolidatorManager cm = new ConsolidatorManager();
DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true);
Iterator it = dlInfo.iterator ();
PublicationSize ps = it.next ();
String pubName = ps.getPubName ();
public long getSize()
Example:
ConsolidatorManager cm = new ConsolidatorManager();
DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true);
Iterator it = dlInfo.iterator ();
PublicationSize ps = it.next ();
long size = ps.getSize ();
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
Example:
ConsolidatorManager cm = new ConsolidatorManager();
DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true);
Iterator it = dlInfo.iterator ();
PublicationSize ps = it.next ();
String pubItemInfo = ps.toString ();
toString in class java.lang.Object