Package org.onosproject.net.pi.runtime
Class PiMeterCellConfig
- java.lang.Object
 - 
- org.onosproject.net.pi.runtime.PiMeterCellConfig
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPiMeterCellConfig.Builder 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiMeterCellConfig.Builderbuilder()Returns a meter cell configuration builder.PiMeterCellIdcellId()Returns the cell identifier.booleanequals(java.lang.Object o)PiMeterCellHandlehandle(DeviceId deviceId)Returns a handle for this PI entity and the given device ID.inthashCode()java.util.Collection<PiMeterBand>meterBands()Returns the collection of bands of this cell.PiEntityTypepiEntityType()Returns the type of this entity.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
cellId
public PiMeterCellId cellId()
Returns the cell identifier.- Returns:
 - cell identifier
 
 
- 
meterBands
public java.util.Collection<PiMeterBand> meterBands()
Returns the collection of bands of this cell.- Returns:
 - meter bands
 
 
- 
piEntityType
public PiEntityType piEntityType()
Description copied from interface:PiEntityReturns the type of this entity.- Specified by:
 piEntityTypein interfacePiEntity- Returns:
 - entity type
 
 
- 
handle
public PiMeterCellHandle 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 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
 
- 
builder
public static PiMeterCellConfig.Builder builder()
Returns a meter cell configuration builder.- Returns:
 - a new builder
 
 
 - 
 
 -