public class PFNumberListBasicStatistics extends PFListStatistics implements PFXMLSerializable
トリガー | 設定データ | イベント番号 |
---|---|---|
集計対象データ設定 | 集計対象データ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出力.
|
addPFDataSetListener, firePFDataSet, getComponentID, getComponentKey, getComponentKeys, getComponentPublicName, getComponentString, getPFDataSetListenerList, isAllowPullTransfer, isAllowPushTransfer, isAllowRemoteInvocation, localeUpdated, removePFDataSetListener, setAllowPullTransfer, setAllowPushTransfer, setAllowRemoteInvocation, setComponentID, setComponentKey, setComponentKeys, setComponentPublicName
public PFNumberListBasicStatistics()
public PFNumberListBasicStatistics(PFObjectList list)
list
- 集計対象データpublic java.lang.String getComponentName()
getComponentName
インタフェース内 PFComponent
public void readXML(PFXMLLoader in)
readXML
インタフェース内 PFXMLSerializable
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
writeXML
インタフェース内 PFXMLSerializable
out
- XML出力ユーティリティjava.io.IOException
public PFObjectList getObjectList()
getObjectList
クラス内 PFListStatistics
public void setObjectList(PFObjectList list) throws PFComponentException
setObjectList
クラス内 PFListStatistics
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の場合