| Package | Description |
|---|---|
| org.opendaylight.yangtools.sal.binding.model.api | |
| org.opendaylight.yangtools.sal.binding.model.api.type.builder |
March 2013
Copyright (c) 2013 by Cisco Systems, Inc.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnnotationType
The Annotation Type interface is designed to hold information about
annotation for any type that could be annotated in Java.
|
interface |
ConcreteType
The Concrete Type is marker interface that encapsulates definition of java
concrete type.
|
interface |
Enumeration
Interface provide methods for reading data of enumeration class.
|
interface |
GeneratedTransferIdentityObject |
interface |
GeneratedTransferObject
Generated Transfer Object extends
GeneratedType and is designed to
represent Java Class. |
interface |
GeneratedType
Every Java interface has to be specified with:
package that belongs into
interface name (with commentary that SHOULD be
present to proper define interface and base contracts specified for
interface)
Each Generated Type can define list of types that Generated Type can
implement to extend it's definition (i.e. |
interface |
ParameterizedType
Represents an instance of simple parametrized type such as List
|
interface |
WildcardType
Marker interface which assign to object property that it is bounded wildcard
type.
|
| Modifier and Type | Method and Description |
|---|---|
Type[] |
ParameterizedType.getActualTypeArguments()
Returns array of Types that are defined for Parameterized Type.
|
Type |
TypeMember.getDefiningType()
Returns the Type that declares member.
|
Type |
Constant.getDefiningType()
Returns the Type that declares constant.
|
Type |
Enumeration.getParentType() |
Type |
GeneratedType.getParentType()
Returns the parent type if Generated Type is defined as enclosing type,
otherwise returns
null |
Type |
ParameterizedType.getRawType()
Returns the Raw Type definition of Parameterized Type.
|
Type |
TypeMember.getReturnType()
Get the returning Type of member.
|
Type |
MethodSignature.Parameter.getType()
Returns Type that is bounded to parameter name.
|
Type |
Constant.getType()
Returns the return Type (or just Type) of the Constant.
|
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
GeneratedType.getImplements()
Returns List of Types that Generated Type will implement.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CodeGenerator.generate(Type type)
Generates code for
type. |
String |
CodeGenerator.getUnitName(Type type)
Returns name of
type parameter. |
boolean |
CodeGenerator.isAcceptable(Type type)
Checks if the concrete instance of
type fit to concrete
implementation of this interface. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnnotationTypeBuilder
Annotation Type Builder Interface serves for creation and instantiation of
immutable copy of Annotation Type.
|
interface |
EnumBuilder
Enum Builder is interface that contains methods to build and instantiate
Enumeration definition.
|
interface |
GeneratedTOBuilder
Generated Transfer Object Builder is interface that contains methods to build
and instantiate Generated Transfer Object definition.
|
interface |
GeneratedTypeBuilder
Generated Type Builder interface is helper interface for building and
defining the GeneratedType.
|
interface |
GeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>> |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
GeneratedTypeBuilderBase.getImplementsTypes() |
| Modifier and Type | Method and Description |
|---|---|
Constant |
GeneratedTypeBuilderBase.addConstant(Type type,
String name,
Object value)
Adds Constant definition and returns
new Constant instance. |
T |
GeneratedTypeBuilderBase.addImplementsType(Type genType)
Add Type to implements.
|
MethodSignatureBuilder |
MethodSignatureBuilder.addParameter(Type type,
String name)
Adds Parameter into the List of method parameters.
|
T |
TypeMemberBuilder.setReturnType(Type returnType)
Adds return Type into Builder definition for Generated Property.
|
Enumeration |
EnumBuilder.toInstance(Type definingType) |
MethodSignature |
MethodSignatureBuilder.toInstance(Type definingType)
Returns
new immutable instance of Method Signature. |
GeneratedProperty |
GeneratedPropertyBuilder.toInstance(Type definingType)
Returns
new immutable instance of Generated Property. |
Constant |
ConstantBuilder.toInstance(Type definingType) |
Copyright © 2014. All rights reserved.