Package org.onosproject.net.pi.service
Class PiTranslatedEntity<T extends PiTranslatable,E extends PiEntity>
- java.lang.Object
- 
- org.onosproject.net.pi.service.PiTranslatedEntity<T,E>
 
- 
 @Beta public final class PiTranslatedEntity<T extends PiTranslatable,E extends PiEntity> extends Object Representation of the result of a PD-to-PI translation associated to a PI entity handle.
- 
- 
Constructor SummaryConstructors Constructor Description PiTranslatedEntity(T original, E translated, PiHandle handle)Creates a new translated entity.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PiEntityTypeentityType()Returns the type of the translated entity.PiHandlehandle()Returns the PI entity handle.Toriginal()Returns the original PD entity.Etranslated()Returns the translated PI entity.
 
- 
- 
- 
Method Detail- 
entityTypepublic final PiEntityType entityType() Returns the type of the translated entity.- Returns:
- type of the translated entity
 
 - 
originalpublic final T original() Returns the original PD entity.- Returns:
- instance of PI translatable entity
 
 - 
translatedpublic final E translated() Returns the translated PI entity.- Returns:
- PI entity
 
 - 
handlepublic final PiHandle handle() Returns the PI entity handle.- Returns:
- PI entity handle
 
 
- 
 
-