Class BindingTypes
- java.lang.Object
-
- org.opendaylight.mdsal.binding.model.ri.BindingTypes
-
public final class BindingTypes extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ConcreteType
BASE_IDENTITY
static ConcreteType
DATA_CONTAINER
static ConcreteType
DATA_OBJECT
static ConcreteType
DATA_ROOT
static ConcreteType
INSTANCE_IDENTIFIER
static ConcreteType
KEYED_INSTANCE_IDENTIFIER
static ConcreteType
NOTIFICATION
static ConcreteType
NOTIFICATION_LISTENER
static ConcreteType
QNAME
static JavaTypeName
ROUTING_CONTEXT
static ConcreteType
RPC_INPUT
static ConcreteType
RPC_OUTPUT
static ConcreteType
RPC_SERVICE
static ConcreteType
SCALAR_TYPE_OBJECT
static ConcreteType
TYPE_OBJECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParameterizedType
action(Type parent, Type input, Type output)
Type specializingAction
for a particular type.static @NonNull ParameterizedType
augmentable(Type type)
SpecializeAugmentable
for a particular type.static @NonNull ParameterizedType
augmentation(Type type)
SpecializeAugmentation
for a particular type.static ParameterizedType
childOf(Type type)
SpecializeChildOf
for a particular type.static ParameterizedType
choiceIn(Type type)
Type specializingChoiceIn
for a particular type.static ParameterizedType
identifiable(Type type)
Type specializingIdentifiable
for a particular type.static ParameterizedType
identifier(Type type)
Type specializingIdentifier
for a particular type.static ParameterizedType
instanceIdentifier(Type type)
Type specializingInstanceIdentifier
for a particular type.static ParameterizedType
instanceNotification(Type concreteType, Type parent)
Type specializingInstanceNotification
for a particular type.static ParameterizedType
keyedInstanceIdentifier(Type type, Type keyType)
Type specializingKeyedInstanceIdentifier
for a particular type.static ParameterizedType
keyedListAction(Type parent, Type keyType, Type input, Type output)
Type specializingKeyedListAction
for a particular type.static ParameterizedType
keyedListNotification(Type concreteType, Type parent, Type keyType)
Type specializingInstanceNotification
for a particular type.static ParameterizedType
opaqueObject(Type type)
Type specializingOpaqueObject
for a particular type.static ParameterizedType
rpcResult(Type type)
Type specializingRpcResult
for a particular type.static ParameterizedType
scalarTypeObject(Type type)
Type specializingScalarTypeObject
for a particular type.
-
-
-
Field Detail
-
BASE_IDENTITY
public static final ConcreteType BASE_IDENTITY
-
DATA_CONTAINER
public static final ConcreteType DATA_CONTAINER
-
DATA_OBJECT
public static final ConcreteType DATA_OBJECT
-
TYPE_OBJECT
public static final ConcreteType TYPE_OBJECT
-
DATA_ROOT
public static final ConcreteType DATA_ROOT
-
NOTIFICATION
public static final ConcreteType NOTIFICATION
-
NOTIFICATION_LISTENER
public static final ConcreteType NOTIFICATION_LISTENER
-
QNAME
public static final ConcreteType QNAME
-
RPC_INPUT
public static final ConcreteType RPC_INPUT
-
RPC_OUTPUT
public static final ConcreteType RPC_OUTPUT
-
RPC_SERVICE
public static final ConcreteType RPC_SERVICE
-
SCALAR_TYPE_OBJECT
public static final ConcreteType SCALAR_TYPE_OBJECT
-
INSTANCE_IDENTIFIER
public static final ConcreteType INSTANCE_IDENTIFIER
-
KEYED_INSTANCE_IDENTIFIER
public static final ConcreteType KEYED_INSTANCE_IDENTIFIER
-
ROUTING_CONTEXT
public static final JavaTypeName ROUTING_CONTEXT
-
-
Method Detail
-
action
public static ParameterizedType action(Type parent, Type input, Type output)
Type specializingAction
for a particular type.- Parameters:
parent
- Type of parent defining the actioninput
- Type input typeoutput
- Type output type- Returns:
- A parameterized type corresponding to
Action<Parent, Input, Output>
- Throws:
NullPointerException
- if any argument is is null
-
keyedListAction
public static ParameterizedType keyedListAction(Type parent, Type keyType, Type input, Type output)
Type specializingKeyedListAction
for a particular type.- Parameters:
parent
- Type of parent defining the actionkeyType
- Type of parent's keyinput
- Type input typeoutput
- Type output type- Returns:
- A parameterized type corresponding to
KeyedListAction<ParentKey, Parent, Input, Output>
- Throws:
NullPointerException
- if any argument is is null
-
instanceNotification
public static ParameterizedType instanceNotification(Type concreteType, Type parent)
Type specializingInstanceNotification
for a particular type.- Parameters:
parent
- Type of parent defining the notification- Returns:
- A parameterized type corresponding to
InstanceNotification<Parent>
- Throws:
NullPointerException
- ifparent
is is null
-
keyedListNotification
public static ParameterizedType keyedListNotification(Type concreteType, Type parent, Type keyType)
Type specializingInstanceNotification
for a particular type.- Parameters:
parent
- Type of parent defining the notificationkeyType
- Type of parent's key- Returns:
- A parameterized type corresponding to
KeyedInstanceNotification<ParentKey, Parent>
- Throws:
NullPointerException
- if any argument is is null
-
augmentable
public static @NonNull ParameterizedType augmentable(Type type)
SpecializeAugmentable
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
Augmentable<Type>
- Throws:
NullPointerException
- iftype
is null
-
augmentation
public static @NonNull ParameterizedType augmentation(Type type)
SpecializeAugmentation
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
Augmentation<Type>
- Throws:
NullPointerException
- iftype
is null
-
childOf
public static ParameterizedType childOf(Type type)
SpecializeChildOf
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
ChildOf<Type>
- Throws:
NullPointerException
- iftype
is null
-
choiceIn
public static ParameterizedType choiceIn(Type type)
Type specializingChoiceIn
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
ChoiceIn<Type>
- Throws:
NullPointerException
- iftype
is null
-
identifier
public static ParameterizedType identifier(Type type)
Type specializingIdentifier
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
Identifier<Type>
- Throws:
NullPointerException
- iftype
is null
-
identifiable
public static ParameterizedType identifiable(Type type)
Type specializingIdentifiable
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
Identifiable<Type>
- Throws:
NullPointerException
- iftype
is null
-
instanceIdentifier
public static ParameterizedType instanceIdentifier(Type type)
Type specializingInstanceIdentifier
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
InstanceIdentifier<Type>
- Throws:
NullPointerException
- iftype
is null
-
keyedInstanceIdentifier
public static ParameterizedType keyedInstanceIdentifier(Type type, Type keyType)
Type specializingKeyedInstanceIdentifier
for a particular type.- Parameters:
type
- Type for which to specializekeyType
- Type of key- Returns:
- A parameterized type corresponding to
KeyedInstanceIdentifier<Type, KeyType>
- Throws:
NullPointerException
- if any argument is is null
-
opaqueObject
public static ParameterizedType opaqueObject(Type type)
Type specializingOpaqueObject
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
OpaqueObject<Type>
- Throws:
NullPointerException
- iftype
is null
-
rpcResult
public static ParameterizedType rpcResult(Type type)
Type specializingRpcResult
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
RpcResult<Type>
- Throws:
NullPointerException
- iftype
is null
-
scalarTypeObject
public static ParameterizedType scalarTypeObject(Type type)
Type specializingScalarTypeObject
for a particular type.- Parameters:
type
- Type for which to specialize- Returns:
- A parameterized type corresponding to
ScalarTypeObject<Type>
- Throws:
NullPointerException
- iftype
is null
-
-