Package org.onosproject.net.pi.runtime
Class PiRegisterCell
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiRegisterCell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PiRegisterCell.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiRegisterCell.Builder
builder()
Returns a register cell entry builder.PiRegisterCellId
cellId()
Returns the cell identifier.PiData
data()
Returns the data contained by this cell ID.boolean
equals(java.lang.Object obj)
PiHandle
handle(DeviceId deviceId)
Returns a handle for this PI entity and the given device ID.int
hashCode()
PiEntityType
piEntityType()
Returns the type of this entity.java.lang.String
toString()
-
-
-
Method Detail
-
cellId
public PiRegisterCellId cellId()
Returns the cell identifier.- Returns:
- cell identifier
-
data
public PiData data()
Returns the data contained by this cell ID.- Returns:
- PI data or null
-
piEntityType
public PiEntityType piEntityType()
Description copied from interface:PiEntity
Returns the type of this entity.- Specified by:
piEntityType
in interfacePiEntity
- Returns:
- entity type
-
handle
public PiHandle handle(DeviceId deviceId)
Description copied from interface:PiEntity
Returns a handle for this PI entity and the given device ID.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static PiRegisterCell.Builder builder()
Returns a register cell entry builder.- Returns:
- a new builder
-
-