Package org.libvirt

Class TypedStringParameter

java.lang.Object
org.libvirt.TypedParameter
org.libvirt.TypedStringParameter

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

  • Constructor Details

    • TypedStringParameter

      public TypedStringParameter()
    • TypedStringParameter

      public TypedStringParameter(String value)
    • TypedStringParameter

      public TypedStringParameter(String field, String value)
  • Method Details

    • 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 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 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