Package org.libvirt
Class TypedDoubleParameter
java.lang.Object
org.libvirt.TypedParameter
org.libvirt.TypedDoubleParameter
Class for representing a double typed parameter
-
Field Summary
Fields inherited from class org.libvirt.TypedParameter
field, TYPED_PARAM_BOOLEAN, TYPED_PARAM_DOUBLE, TYPED_PARAM_INT, TYPED_PARAM_LONG, TYPED_PARAM_STRING, TYPED_PARAM_UINT, TYPED_PARAM_ULONG
-
Constructor Summary
ConstructorDescriptionTypedDoubleParameter
(double value) TypedDoubleParameter
(String field, double value) -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
The type of the parameterUtility function for displaying the typeUtility function for displaying the valueMethods inherited from class org.libvirt.TypedParameter
copyOf, create, toNative
-
Field Details
-
value
public double value
-
-
Constructor Details
-
TypedDoubleParameter
public TypedDoubleParameter() -
TypedDoubleParameter
public TypedDoubleParameter(double value) -
TypedDoubleParameter
-
-
Method Details
-
getType
public int getType()Description copied from class:TypedParameter
The type of the parameter- Specified by:
getType
in classTypedParameter
- Returns:
- the Type of the parameter
-
getTypeAsString
Description copied from class:TypedParameter
Utility function for displaying the type- Specified by:
getTypeAsString
in classTypedParameter
- Returns:
- the Type of the parameter as string
-
getValueAsString
Description copied from class:TypedParameter
Utility function for displaying the value- Specified by:
getValueAsString
in classTypedParameter
- Returns:
- the value of the parameter in String form
-