public final class AnnotationKeys extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BANDWIDTH
Annotation key for bandwidth.
|
static String |
DRIVER
Annotation key for the device driver name.
|
static String |
DURABLE
Annotation key for durable links.
|
static String |
LATENCY
Annotation key for latency.
|
static String |
LATITUDE
Annotation key for latitude (e.g.
|
static String |
LONGITUDE
Annotation key for longitute (e.g.
|
static String |
NAME
Annotation key for instance name.
|
static String |
OPTICAL_WAVES
Annotation key for the number of optical waves.
|
static String |
PORT_NAME
Annotation key for the port name.
|
static String |
PROTOCOL
Annotation key for southbound protocol.
|
static String |
ROUTER_ID
Annotation key for the router ID.
|
static String |
STATIC_LAMBDA |
static String |
STATIC_PORT |
static String |
TYPE
Annotation key for instance type (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getAnnotatedValue(Annotated annotated,
String key)
Returns the value annotated object for the specified annotation key.
|
public static final String NAME
public static final String TYPE
public static final String LATITUDE
public static final String LONGITUDE
public static final String PROTOCOL
public static final String DRIVER
public static final String DURABLE
public static final String LATENCY
public static final String BANDWIDTH
public static final String OPTICAL_WAVES
public static final String PORT_NAME
public static final String ROUTER_ID
public static final String STATIC_LAMBDA
public static final String STATIC_PORT
public static double getAnnotatedValue(Annotated annotated, String key)
annotated - annotated object whose annotated value is obtainedkey - key of annotationCopyright © 2015. All rights reserved.