Package org.onosproject.net
Class AbstractElement
- java.lang.Object
- 
- org.onosproject.net.AbstractAnnotated
- 
- org.onosproject.net.AbstractModel
- 
- org.onosproject.net.AbstractProjectableModel
- 
- org.onosproject.net.AbstractElement
 
 
 
 
- 
- All Implemented Interfaces:
- Annotated,- Projectable,- Element,- Provided
 - Direct Known Subclasses:
- DefaultDevice,- DefaultHost
 
 public abstract class AbstractElement extends AbstractProjectableModel implements Element Base implementation of network elements, i.e. devices or hosts.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.onosproject.net.AbstractProjectableModelAbstractProjectableModel.AnnotationDriverData
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected ElementIdid- 
Fields inherited from class org.onosproject.net.AbstractProjectableModelNO_DRIVER, NO_DRIVER_SERVICE
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description AbstractElement()protectedAbstractElement(ProviderId providerId, ElementId id, Annotations... annotations)Creates a network element attributed to the specified provider.
 - 
Method Summary- 
Methods inherited from class org.onosproject.net.AbstractProjectableModelas, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverService
 - 
Methods inherited from class org.onosproject.net.AbstractModelproviderId
 - 
Methods inherited from class org.onosproject.net.AbstractAnnotatedannotations
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.net.Annotatedannotations
 - 
Methods inherited from interface org.onosproject.net.driver.Projectableas, is, project
 - 
Methods inherited from interface org.onosproject.net.ProvidedproviderId
 
- 
 
- 
- 
- 
Field Detail- 
idprotected final ElementId id 
 
- 
 - 
Constructor Detail- 
AbstractElementpublic AbstractElement() 
 - 
AbstractElementprotected AbstractElement(ProviderId providerId, ElementId id, Annotations... annotations) Creates a network element attributed to the specified provider.- Parameters:
- providerId- identity of the provider
- id- element identifier
- annotations- optional key/value annotations
 
 
- 
 
-