Enum Class ViewFieldEnum
- All Implemented Interfaces:
Serializable
,Comparable<ViewFieldEnum>
,Constable
Enumerates the valid values for each view's public fields. The name of the field or property can be used
to obtain values from the view rather than using the hardcoded String value for the field.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCorrelation.dataPointsnSlope.sumXsumXSqsumXYsumYsumYSqXAverageXStandardDeviationPopXStandardDeviationSampleXSumXVarianceYAverageY-intercept.YStandardDeviationPopYStandardDeviationSampleYSumYVarianceSize.Average.Count.Standard dev.Standard dev population.Sum.Variance.Weighted average. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the field name of fields that contain data within a view's posted objects.static ViewFieldEnum
Returns the enum constant of this class with the specified name.static ViewFieldEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIVARIATE_STATISTICS__DATAPOINTS
Count. -
UNIVARIATE_STATISTICS__TOTAL
Sum. -
UNIVARIATE_STATISTICS__AVERAGE
Average. -
UNIVARIATE_STATISTICS__STDDEVPA
Standard dev population. -
UNIVARIATE_STATISTICS__STDDEV
Standard dev. -
UNIVARIATE_STATISTICS__VARIANCE
Variance. -
WEIGHTED_AVERAGE__AVERAGE
Weighted average. -
CORRELATION__CORRELATION
Correlation. -
REGRESSION__SLOPE
Slope. -
REGRESSION__YINTERCEPT
Y-intercept. -
REGRESSION__XAVERAGE
XAverage -
REGRESSION__XSTANDARDDEVIATIONPOP
XStandardDeviationPop -
REGRESSION__XSTANDARDDEVIATIONSAMPLE
XStandardDeviationSample -
REGRESSION__XSUM
XSum -
REGRESSION__XVARIANCE
XVariance -
REGRESSION__YAVERAGE
YAverage -
REGRESSION__YSTANDARDDEVIATIONPOP
YStandardDeviationPop -
REGRESSION__YSTANDARDDEVIATIONSAMPLE
YStandardDeviationSample -
REGRESSION__YSUM
YSum -
REGRESSION__YVARIANCE
YVariance -
REGRESSION__DATAPOINTS
dataPoints -
REGRESSION__N
n -
REGRESSION__SUMX
sumX -
REGRESSION__SUMXSQ
sumXSq -
REGRESSION__SUMXY
sumXY -
REGRESSION__SUMY
sumY -
REGRESSION__SUMYSQ
sumYSq -
SIZE_VIEW__SIZE
Size.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Returns the field name of fields that contain data within a view's posted objects.- Returns:
- field name for use with DataSchema to obtain values out of objects.
-