Package org.libvirt

Class TypedStringParameter


  • public final class TypedStringParameter
    extends TypedParameter
    Class for representing a string (char pointer) typed parameter
    • Field Detail

      • value

        public java.lang.String value
    • Constructor Detail

      • TypedStringParameter

        public TypedStringParameter()
      • TypedStringParameter

        public TypedStringParameter​(java.lang.String value)
      • TypedStringParameter

        public TypedStringParameter​(java.lang.String field,
                                    java.lang.String value)
    • Method Detail

      • getType

        public int getType()
        Description copied from class: TypedParameter
        The type of the parameter
        Specified by:
        getType in class TypedParameter
        Returns:
        the Type of the parameter
      • getTypeAsString

        public java.lang.String getTypeAsString()
        Description copied from class: TypedParameter
        Utility function for displaying the type
        Specified by:
        getTypeAsString in class TypedParameter
        Returns:
        the Type of the parameter as string
      • getValueAsString

        public java.lang.String getValueAsString()
        Description copied from class: TypedParameter
        Utility function for displaying the value
        Specified by:
        getValueAsString in class TypedParameter
        Returns:
        the value of the parameter in String form