Package org.onosproject.net.pi.model
Class PiTableId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.String>
-
- org.onosproject.net.pi.model.PiTableId
-
- All Implemented Interfaces:
TableId
@Beta public final class PiTableId extends Identifier<java.lang.String> implements TableId
Identifier of a table in a protocol-independent pipeline, unique within the scope of a pipeline model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.TableId
TableId.Type
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TableId other)Compares table ID.static PiTableIdof(java.lang.String name)Returns an identifier for the given table name.TableId.Typetype()Gets type of this table ID.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-
-
-
Method Detail
-
of
public static PiTableId of(java.lang.String name)
Returns an identifier for the given table name.- Parameters:
name- table name- Returns:
- table ID
-
type
public TableId.Type type()
Description copied from interface:TableIdGets type of this table ID.
-
-