Package org.onosproject.net
Class AbstractAnnotated
- java.lang.Object
- 
- org.onosproject.net.AbstractAnnotated
 
- 
- All Implemented Interfaces:
- Annotated
 - Direct Known Subclasses:
- AbstractModel,- DefaultPort,- DefaultPortStatistics,- DefaultRegion,- DeviceKey
 
 public abstract class AbstractAnnotated extends java.lang.Object implements Annotated Base abstraction of an annotated entity.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractAnnotated()protectedAbstractAnnotated(Annotations... annotations)Creates a new entity, annotated with the specified annotations.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotationsannotations()Returns the key/value annotations.
 
- 
- 
- 
Constructor Detail- 
AbstractAnnotatedprotected AbstractAnnotated() 
 - 
AbstractAnnotatedprotected AbstractAnnotated(Annotations... annotations) Creates a new entity, annotated with the specified annotations.- Parameters:
- annotations- optional key/value annotations map
 
 
- 
 - 
Method Detail- 
annotationspublic Annotations annotations() Description copied from interface:AnnotatedReturns the key/value annotations.- Specified by:
- annotationsin interface- Annotated
- Returns:
- key/value annotations
 
 
- 
 
-