- All Implemented Interfaces:
Serializable,Comparable<Parameter.ParamType>,Constable
- Enclosing class:
- Parameter
Represents the element type of a Parameter object.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTruth value.Path to a file.Floating point number, in decimal representation with the range of IEEE754 binary64.Path to a folder, with the same rules asFILE.Integral number, signed betweenInteger.MIN_VALUEandInteger.MAX_VALUE.A string composed of alphanumeric, punctuation or whitespace characters (but excluding control characters e.g.Timecode formatted as CCSDS ASCII time format with milli- or micro-second precision. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Parameter.ParamTypeReturns the enum constant of this class with the specified name.static Parameter.ParamType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Truth value. Per the E2E-ICD, onlyTRUEorFALSEare accepted, capitalized. -
FILE
Path to a file. If relative, it is resolved against the configuredbase directory. -
FLOAT
Floating point number, in decimal representation with the range of IEEE754 binary64. The E2E-ICD defines the limits using the Java typedouble. -
FOLDER
Path to a folder, with the same rules asFILE. -
INTEGER
Integral number, signed betweenInteger.MIN_VALUEandInteger.MAX_VALUE. The E2E-ICD defines the limits using the Java typeint. -
STRING
A string composed of alphanumeric, punctuation or whitespace characters (but excluding control characters e.g."\n") with length ranging from 0 to 255.Note that OSFI does not place a limit on string length or contents.
-
TIME
Timecode formatted as CCSDS ASCII time format with milli- or micro-second precision.Note that, notwithstanding the E2E-ICD, OSFI allows up to nanosecond precision.
- See Also:
-
-
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
-
isStringBased
public boolean isStringBased()- Returns:
- true if this type follows "string" rules, that is, it may have blanks embedded and thus any non-scalars must be quoted.
-