hypercast
Class StatsElement

java.lang.Object
  |
  +--hypercast.StatsElement

public class StatsElement
extends java.lang.Object

This class defines the extra properties of a statistic. These extra properties, such as minimal occurance times of the statistic, cannot be determined by the I_Stats object itself, instead, they are determined by the upper layer statistic.


Constructor Summary
StatsElement(java.lang.String Name, hypercast.I_Stats statisticsObj, int minoccur, int maxoccur)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Return the name of this statistics
 hypercast.I_Stats getStatsObj()
          Return the I_Stats object stored in this statistics
 void resetSchemaAttribute(org.w3c.dom.Element schemaElement)
          Reset the attribute of the given schema element.
 void setName(java.lang.String nm)
          Set the name of this statistics
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsElement

public StatsElement(java.lang.String Name,
                    hypercast.I_Stats statisticsObj,
                    int minoccur,
                    int maxoccur)
Constructor.

Method Detail

getName

public java.lang.String getName()
Return the name of this statistics


setName

public void setName(java.lang.String nm)
Set the name of this statistics


getStatsObj

public hypercast.I_Stats getStatsObj()
Return the I_Stats object stored in this statistics


resetSchemaAttribute

public void resetSchemaAttribute(org.w3c.dom.Element schemaElement)
Reset the attribute of the given schema element.