Class PiErrorString
- java.lang.Object
 - 
- org.onosproject.net.pi.runtime.data.PiErrorString
 
 
- 
- 
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 booleanequals(java.lang.Object o)java.lang.StringerrorString()Return protocol-independent error string instance.inthashCode()static PiErrorStringof(java.lang.String errorString)Returns a new protocol-independent error string.java.lang.StringtoString()PiData.Typetype()Returns the type of this protocol-independent data. 
 - 
 
- 
- 
Method Detail
- 
of
public static PiErrorString of(java.lang.String errorString)
Returns a new protocol-independent error string.- Parameters:
 errorString- error string- Returns:
 - error string
 
 
- 
errorString
public java.lang.String errorString()
Return protocol-independent error string instance.- Returns:
 - error string
 
 
- 
type
public PiData.Type type()
Description copied from interface:PiDataReturns the type of this protocol-independent data. 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -