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 classPiRegisterCell.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiRegisterCell.Builderbuilder()Returns a register cell entry builder.PiRegisterCellIdcellId()Returns the cell identifier.PiDatadata()Returns the data contained by this cell ID.booleanequals(java.lang.Object obj)PiHandlehandle(DeviceId deviceId)Returns a handle for this PI entity and the given device ID.inthashCode()PiEntityTypepiEntityType()Returns the type of this entity.java.lang.StringtoString()
-
-
-
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:PiEntityReturns the type of this entity.- Specified by:
piEntityTypein interfacePiEntity- Returns:
- entity type
-
handle
public PiHandle handle(DeviceId deviceId)
Description copied from interface:PiEntityReturns a handle for this PI entity and the given device ID.
-
equals
public boolean equals(java.lang.Object obj)
- 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
-
builder
public static PiRegisterCell.Builder builder()
Returns a register cell entry builder.- Returns:
- a new builder
-
-