|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.util.statistics.PFStatistics jp.go.aist.dmrc.platform.beans.util.statistics.PFListStatistics jp.go.aist.dmrc.platform.beans.util.statistics.PFNumberListBasicStatistics
public class PFNumberListBasicStatistics
数値データ用の基本統計コンポーネント。
このコンポーネントから以下のイベントが発生します。
トリガー | 設定データ | イベント番号 |
---|---|---|
集計対象データ設定 | 集計対象データPFObjectList |
0 |
集計対象データ設定 数値以外が含まれているとき |
集計対象データPFObjectList |
-1 |
コンストラクタの概要 | |
---|---|
PFNumberListBasicStatistics()
コンストラクタ。 |
|
PFNumberListBasicStatistics(PFObjectList list)
コンストラクタ。 |
メソッドの概要 | |
---|---|
java.math.BigDecimal |
getAverage()
平均値を返す。 |
java.lang.String |
getComponentName()
コンポーネント名称を取得する。 |
int |
getCount()
集計対象データの個数を返す。 |
int |
getCountCloseInterval(java.math.BigDecimal decimal1,
java.math.BigDecimal decimal2)
集計対象データのうち、decimal1以上decimal2以下の値の個数を返す。 |
int |
getCountEQ(java.math.BigDecimal decimal)
集計対象データのうち、decimalに等しい値の個数を返す。 |
int |
getCountGE(java.math.BigDecimal decimal)
集計対象データのうち、decimal以上の値の個数を返す。 |
int |
getCountGT(java.math.BigDecimal decimal)
集計対象データのうち、decimalより大きい値の個数を返す。 |
int |
getCountHalfOpenInterval1(java.math.BigDecimal decimal1,
java.math.BigDecimal decimal2)
集計対象データのうち、decimal1より大きくdecimal2以下の値の個数を返す。 |
int |
getCountHalfOpenInterval2(java.math.BigDecimal decimal1,
java.math.BigDecimal decimal2)
集計対象データのうち、decimal1以上decimal2未満の値の個数を返す。 |
int |
getCountLE(java.math.BigDecimal decimal)
集計対象データのうち、decimal以下の値の個数を返す。 |
int |
getCountLT(java.math.BigDecimal decimal)
集計対象データのうち、decimalより小さい値の個数を返す。 |
int |
getCountNE(java.math.BigDecimal decimal)
集計対象データのうち、decimalに等しくない値の個数を返す。 |
int |
getCountOpenInterval(java.math.BigDecimal decimal1,
java.math.BigDecimal decimal2)
集計対象データのうち、decimal1より大きくdecimal2より小さい値の個数を返す。 |
protected int |
getCurrentDecimalPlace()
現在の小数点以下桁数を返す。 |
int |
getDecimalPlace()
計算結果値の小数点以下桁数を返す。 |
java.math.BigDecimal |
getMaximum()
最大値を返す。 |
java.math.BigDecimal |
getMedian()
中央値を返す。 |
java.math.BigDecimal |
getMinimum()
最小値を返す。 |
java.math.BigDecimal |
getMode()
最頻値を返す。 |
PFObjectList |
getObjectList()
集計対象データを返す。 |
java.math.BigDecimal |
getSquareSummation()
平方和を返す。 |
java.math.BigDecimal |
getStandardDeviation()
標準偏差を返す。 |
java.math.BigDecimal |
getSummation()
和を返す。 |
java.math.BigDecimal |
getVariance()
分散を返す。 |
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力. |
void |
setDecimalPlace(int place)
計算結果値の小数点以下桁数を設定する。 |
void |
setObjectList(PFObjectList list)
集計対象データを設定する。 |
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力. |
クラス jp.go.aist.dmrc.platform.beans.util.statistics.PFStatistics から継承されたメソッド |
---|
addPFDataSetListener, firePFDataSet, getComponentID, getComponentKey, getComponentKeys, getComponentPublicName, getComponentString, getPFDataSetListenerList, isAllowPullTransfer, isAllowPushTransfer, isAllowRemoteInvocation, localeUpdated, removePFDataSetListener, setAllowPullTransfer, setAllowPushTransfer, setAllowRemoteInvocation, setComponentID, setComponentKey, setComponentKeys, setComponentPublicName |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PFNumberListBasicStatistics()
public PFNumberListBasicStatistics(PFObjectList list)
list
- 集計対象データメソッドの詳細 |
---|
public java.lang.String getComponentName()
PFComponent
内の getComponentName
public void readXML(PFXMLLoader in)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
public PFObjectList getObjectList()
PFListStatistics
内の getObjectList
public void setObjectList(PFObjectList list) throws PFComponentException
PFListStatistics
内の setObjectList
list
- 集計対象データ
PFComponentException
- listがnullの場合public int getDecimalPlace()
public void setDecimalPlace(int place) throws PFComponentException
place
- 小数点以下桁数
PFComponentException
- placeが-1未満の場合protected int getCurrentDecimalPlace()
getDecimalPlace()
が-1の場合、(集計対象データのうちで最大の小数点以下桁数 + 1)を返す。
public java.math.BigDecimal getSummation()
public java.math.BigDecimal getSquareSummation()
public java.math.BigDecimal getAverage() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getVariance() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getStandardDeviation() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getMaximum() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getMinimum() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getMedian() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public java.math.BigDecimal getMode() throws PFComponentException
PFComponentException
- 集計対象データが0件の場合public int getCount()
public int getCountGE(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountLE(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountGT(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountLT(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountEQ(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountNE(java.math.BigDecimal decimal) throws PFComponentException
decimal
- 基準値
PFComponentException
- decimalがnullの場合public int getCountCloseInterval(java.math.BigDecimal decimal1, java.math.BigDecimal decimal2) throws PFComponentException
decimal1
- 基準値(小)decimal2
- 基準値(大)
PFComponentException
- decimal1またはdecimal2がnullの場合public int getCountOpenInterval(java.math.BigDecimal decimal1, java.math.BigDecimal decimal2) throws PFComponentException
decimal1
- 基準値(小)decimal2
- 基準値(大)
PFComponentException
- decimal1またはdecimal2がnullの場合public int getCountHalfOpenInterval1(java.math.BigDecimal decimal1, java.math.BigDecimal decimal2) throws PFComponentException
decimal1
- 基準値(小)decimal2
- 基準値(大)
PFComponentException
- decimal1またはdecimal2がnullの場合public int getCountHalfOpenInterval2(java.math.BigDecimal decimal1, java.math.BigDecimal decimal2) throws PFComponentException
decimal1
- 基準値(小)decimal2
- 基準値(大)
PFComponentException
- decimal1またはdecimal2がnullの場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |