Class PiEnumString
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiEnumString
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.pi.model.PiData
PiData.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
enumString()
Return protocol-independent enum string instance.boolean
equals(Object o)
int
hashCode()
static PiEnumString
of(String enumString)
Returns a new protocol-independent enum string.String
toString()
PiData.Type
type()
Returns the type of this protocol-independent data.
-
-
-
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.
-
-