Package org.libvirt
Class TypedBooleanParameter
java.lang.Object
org.libvirt.TypedParameter
org.libvirt.TypedBooleanParameter
Class for representing a boolean typed parameter
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionTypedBooleanParameter(boolean value) TypedBooleanParameter(byte value) TypedBooleanParameter(String field, boolean value) -
Method Summary
Modifier and TypeMethodDescriptionintgetType()The type of the parameterUtility function for displaying the typeUtility function for displaying the valueMethods inherited from class org.libvirt.TypedParameter
copyOf, create, fromPointer, toNative
-
Field Details
-
value
public boolean value
-
-
Constructor Details
-
TypedBooleanParameter
public TypedBooleanParameter() -
TypedBooleanParameter
public TypedBooleanParameter(boolean value) -
TypedBooleanParameter
public TypedBooleanParameter(byte value) -
TypedBooleanParameter
-
-
Method Details
-
getType
public int getType()Description copied from class:TypedParameterThe type of the parameter- Specified by:
getTypein classTypedParameter- Returns:
- the Type of the parameter
-
getTypeAsString
Description copied from class:TypedParameterUtility function for displaying the type- Specified by:
getTypeAsStringin classTypedParameter- Returns:
- the Type of the parameter as string
-
getValueAsString
Description copied from class:TypedParameterUtility function for displaying the value- Specified by:
getValueAsStringin classTypedParameter- Returns:
- the value of the parameter in String form
-