public final class AnnotationKeys extends Object
Number of the annotation keys have been deprecated as the use of annotations is being phased out and instead network configuration subsystem is being phased-in for majority of model meta-data.
| Modifier and Type | Field and Description |
|---|---|
static String |
BANDWIDTH
Deprecated.
since Cardinal
|
static String |
DRIVER
Deprecated.
since Cardinal
|
static String |
DURABLE
Annotation key for durable links.
|
static String |
LATENCY
Deprecated.
since Cardinal
|
static String |
LATITUDE
Deprecated.
since Cardinal
|
static String |
LONGITUDE
Deprecated.
since Cardinal
|
static String |
NAME
Deprecated.
since Cardinal
|
static String |
OPTICAL_WAVES
Annotation key for the number of optical waves.
|
static String |
OWNER
Annotation key for device owner.
|
static String |
PORT_NAME
Annotation key for the port name.
|
static String |
PROTOCOL
Annotation key for southbound protocol.
|
static String |
RACK_ADDRESS
Annotation key for device location.
|
static String |
ROUTER_ID
Annotation key for the router ID.
|
static String |
STATIC_LAMBDA |
static String |
STATIC_PORT |
static String |
TYPE
Deprecated.
since Cardinal
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getAnnotatedValue(Annotated annotated,
String key)
Returns the value annotated object for the specified annotation key.
|
@Deprecated public static final String NAME
@Deprecated public static final String TYPE
@Deprecated public static final String LATITUDE
@Deprecated public static final String LONGITUDE
public static final String PROTOCOL
@Deprecated public static final String DRIVER
public static final String DURABLE
@Deprecated public static final String LATENCY
@Deprecated 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 final String RACK_ADDRESS
public static final String OWNER
public static double getAnnotatedValue(Annotated annotated, String key)
annotated - annotated object whose annotated value is obtainedkey - key of annotationCopyright © 2015. All rights reserved.