@Beta public final class BindingMapping extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUGMENTABLE_AUGMENTATION_NAME
Name of
Augmentable.augmentation(Class) . |
static String |
AUGMENTATION_FIELD |
static String |
BOOLEAN_GETTER_PREFIX
Prefix for getter methods working on top of boolean.
|
static String |
DATA_CONTAINER_GET_IMPLEMENTED_INTERFACE_NAME
|
static String |
DATA_ROOT_SUFFIX |
static String |
GETTER_PREFIX
Prefix for normal getter methods.
|
static String |
IDENTIFIABLE_KEY_NAME
Name of
Identifiable.key() . |
static Set<String> |
JAVA_RESERVED_WORDS |
static String |
MODEL_BINDING_PROVIDER_CLASS_NAME |
static String |
MODULE_INFO_CLASS_NAME |
static String |
MODULE_INFO_QNAMEOF_METHOD_NAME |
static String |
NONNULL_PREFIX
Prefix for non-null default wrapper methods.
|
static String |
NOTIFICATION_LISTENER_SUFFIX |
static String |
PACKAGE_PREFIX |
static String |
QNAME_STATIC_FIELD_NAME |
static String |
RPC_INPUT_SUFFIX |
static String |
RPC_OUTPUT_SUFFIX |
static String |
RPC_SERVICE_SUFFIX |
static String |
VERSION |
Modifier and Type | Method and Description |
---|---|
static String |
getClassName(org.opendaylight.yangtools.yang.common.QName name) |
static String |
getClassName(String localName) |
static String |
getGetterMethodForNonnull(String methodName) |
static String |
getGetterMethodName(org.opendaylight.yangtools.yang.common.QName name,
boolean isBoolean) |
static String |
getGetterMethodName(String localName,
boolean isBoolean) |
static String |
getGetterPrefix(boolean isBoolean) |
static String |
getGetterSuffix(org.opendaylight.yangtools.yang.common.QName name) |
static String |
getMethodName(org.opendaylight.yangtools.yang.common.QName name) |
static String |
getMethodName(String yangIdentifier) |
static String |
getNonnullMethodName(String localName) |
static String |
getPropertyName(String yangIdentifier) |
static String |
getRootPackageName(org.opendaylight.yangtools.yang.common.QName module) |
static String |
getRootPackageName(org.opendaylight.yangtools.yang.common.QNameModule module) |
static boolean |
isGetterMethodName(String methodName) |
static boolean |
isNonnullMethodName(String methodName) |
static com.google.common.collect.BiMap<String,String> |
mapEnumAssignedNames(Collection<String> assignedNames)
Returns Java identifiers, conforming to JLS9 Section 3.8 to use for specified YANG assigned names
(RFC7950 Section 9.6.4).
|
static String |
normalizePackageName(String packageName) |
static String |
toFirstUpper(String str)
|
public static final String VERSION
public static final String DATA_ROOT_SUFFIX
public static final String RPC_SERVICE_SUFFIX
public static final String NOTIFICATION_LISTENER_SUFFIX
public static final String QNAME_STATIC_FIELD_NAME
public static final String PACKAGE_PREFIX
public static final String AUGMENTATION_FIELD
public static final String MODULE_INFO_CLASS_NAME
public static final String MODULE_INFO_QNAMEOF_METHOD_NAME
public static final String MODEL_BINDING_PROVIDER_CLASS_NAME
public static final String AUGMENTABLE_AUGMENTATION_NAME
Augmentable.augmentation(Class)
.public static final String IDENTIFIABLE_KEY_NAME
Identifiable.key()
.public static final String DATA_CONTAINER_GET_IMPLEMENTED_INTERFACE_NAME
public static final String BOOLEAN_GETTER_PREFIX
public static final String GETTER_PREFIX
public static final String NONNULL_PREFIX
public static final String RPC_INPUT_SUFFIX
public static final String RPC_OUTPUT_SUFFIX
public static String getRootPackageName(org.opendaylight.yangtools.yang.common.QName module)
public static String getRootPackageName(org.opendaylight.yangtools.yang.common.QNameModule module)
public static String getClassName(org.opendaylight.yangtools.yang.common.QName name)
public static String getMethodName(org.opendaylight.yangtools.yang.common.QName name)
public static String getGetterPrefix(boolean isBoolean)
public static String getGetterMethodName(org.opendaylight.yangtools.yang.common.QName name, boolean isBoolean)
public static boolean isGetterMethodName(String methodName)
public static boolean isNonnullMethodName(String methodName)
public static String getGetterSuffix(org.opendaylight.yangtools.yang.common.QName name)
public static com.google.common.collect.BiMap<String,String> mapEnumAssignedNames(Collection<String> assignedNames)
assignedNames
- Collection of assigned namesNullPointerException
- if assignedNames is null or contains null itemsIllegalArgumentException
- if any of the names is emptyCopyright © 2019 OpenDaylight. All rights reserved.