Class PiEnumString

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiEnumString
    extends Object
    implements PiData
    EnumString entity in a protocol-independent pipeline.
    • Method Detail

      • of

        public static PiEnumString of​(String enumString)
        Returns a new protocol-independent enum string.
        Parameters:
        enumString - enum string
        Returns:
        enum string
      • enumString

        public String enumString()
        Return protocol-independent enum string instance.
        Returns:
        enum string
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object