Package org.onosproject.net
Class AbstractDescription
- java.lang.Object
- 
- org.onosproject.net.AbstractDescription
 
- 
- All Implemented Interfaces:
- Annotated
 - Direct Known Subclasses:
- DefaultDeviceDescription,- DefaultGraphDescription,- DefaultHostDescription,- DefaultLinkDescription,- DefaultMirroringDescription,- DefaultPatchDescription,- DefaultPortDescription,- DefaultQosDescription,- DefaultQueueDescription,- DefaultTunnelDescription
 
 public abstract class AbstractDescription extends Object implements Annotated Base implementation of an annotated model description.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractDescription()protectedAbstractDescription(SparseAnnotations... annotations)Creates a new entity, annotated with the specified annotations.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SparseAnnotationsannotations()Returns the key/value annotations.booleanequals(Object object)inthashCode()
 
- 
- 
- 
Constructor Detail- 
AbstractDescriptionprotected AbstractDescription() 
 - 
AbstractDescriptionprotected AbstractDescription(SparseAnnotations... annotations) Creates a new entity, annotated with the specified annotations.- Parameters:
- annotations- optional key/value annotations map
 
 
- 
 - 
Method Detail- 
annotationspublic SparseAnnotations annotations() Description copied from interface:AnnotatedReturns the key/value annotations.- Specified by:
- annotationsin interface- Annotated
- Returns:
- key/value annotations
 
 
- 
 
-