Package org.onosproject.net
Class AbstractModel
- java.lang.Object
 - 
- org.onosproject.net.AbstractAnnotated
 - 
- org.onosproject.net.AbstractModel
 
 
 
- 
- Direct Known Subclasses:
 AbstractProjectableModel,DefaultTopology
public abstract class AbstractModel extends AbstractAnnotated implements Provided
Base implementation of a network model entity. 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description AbstractModel()protectedAbstractModel(ProviderId providerId, Annotations... annotations)Creates a model entity attributed to the specified provider and optionally annotated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderIdproviderId()Returns the identifier of the provider which supplied the entity.- 
Methods inherited from class org.onosproject.net.AbstractAnnotated
annotations 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AbstractModel
public AbstractModel()
 
- 
AbstractModel
protected AbstractModel(ProviderId providerId, Annotations... annotations)
Creates a model entity attributed to the specified provider and optionally annotated.- Parameters:
 providerId- identity of the providerannotations- optional key/value annotations
 
 - 
 
- 
Method Detail
- 
providerId
public ProviderId providerId()
Description copied from interface:ProvidedReturns the identifier of the provider which supplied the entity.- Specified by:
 providerIdin interfaceProvided- Returns:
 - provider identification
 
 
 - 
 
 -