com.esri.arcgis.server
Class ServerStatisticsArray

java.lang.Object
  extended by com.esri.arcgis.server.ServerStatisticsArray
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerTimeRange, IDoubleArray, java.io.Serializable

public class ServerStatisticsArray
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDoubleArray, IServerTimeRange

COM Class 'ServerStatisticsArray'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description 'The ServerStatisticsArray object which returns an array of a specific statistic over a range of time periods.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IDoubleArray
IID, IID60c06ca6_e09e_11d2_9f7b_00c04f8ece27, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerTimeRange
IID, IID37786a30_fec4_4ea4_953e_dac6b69c716d, xxDummy
 
Constructor Summary
ServerStatisticsArray(java.lang.Object obj)
          Construct a ServerStatisticsArray using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(double element)
          Adds an element to the array.
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getCount()
          The number of elements in the array.
 double getElement(int index)
          An element from the array.
 java.util.Date getEndTime()
          The end time for the period that the statistics represent.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.util.Date getStartTime()
          The start time for the period that the statistics represent.
 int hashCode()
          the hashcode for this object
 void insert(int index, double element)
          Inserts an element to the array.
 void release()
          Release a ServerStatisticsArray.
 void remove(int index)
          Removes an element from the array.
 void removeAll()
          Removes all elements from the array.
 void setElement(int index, double pElement)
          An element from the array.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStatisticsArray

public ServerStatisticsArray(java.lang.Object obj)
                      throws java.io.IOException
Construct a ServerStatisticsArray using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerStatisticsArray.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerStatisticsArray o = (ServerStatisticsArray)obj; // will not work

ServerStatisticsArray o = new ServerStatisticsArray(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ServerStatisticsArray theServerStatisticsArray = (ServerStatisticsArray) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerStatisticsArray.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of elements in the array.

Specified by:
getCount in interface IDoubleArray
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes an element from the array.

Specified by:
remove in interface IDoubleArray
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all elements from the array.

Specified by:
removeAll in interface IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public double getElement(int index)
                  throws java.io.IOException,
                         AutomationException
An element from the array.

Specified by:
getElement in interface IDoubleArray
Parameters:
index - The index (in)
Returns:
The pElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElement

public void setElement(int index,
                       double pElement)
                throws java.io.IOException,
                       AutomationException
An element from the array.

Specified by:
setElement in interface IDoubleArray
Parameters:
index - The index (in)
pElement - The pElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(double element)
         throws java.io.IOException,
                AutomationException
Adds an element to the array.

Specified by:
add in interface IDoubleArray
Parameters:
element - The element (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   double element)
            throws java.io.IOException,
                   AutomationException
Inserts an element to the array.

Specified by:
insert in interface IDoubleArray
Parameters:
index - The index (in)
element - The element (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartTime

public java.util.Date getStartTime()
                            throws java.io.IOException,
                                   AutomationException
The start time for the period that the statistics represent.

Specified by:
getStartTime in interface IServerTimeRange
Returns:
The pTime
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEndTime

public java.util.Date getEndTime()
                          throws java.io.IOException,
                                 AutomationException
The end time for the period that the statistics represent.

Specified by:
getEndTime in interface IServerTimeRange
Returns:
The pTime
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.