Uses of Interface
org.opendaylight.mdsal.binding.model.api.Type
Packages that use Type
Package
Description
Model of Java classes generated from YANG.
-
Uses of Type in org.opendaylight.mdsal.binding.model.api
Subinterfaces of Type in org.opendaylight.mdsal.binding.model.apiModifier and TypeInterfaceDescriptioninterfaceThe Annotation Type interface is designed to hold information about annotation for any type that could be annotated in Java.
For sake of simplicity the Annotation Type is not designed to model exact behaviour of annotation mechanism, but just to hold information needed to model annotation over java Type definition.interfaceThe BaseTypeWithRestrictions is marker interface that encapsulates definition of java concrete type only with changed restriction values.interfaceThe Concrete Type is marker interface that encapsulates definition of java concrete type.interfaceInterface provide methods for reading data of enumeration class.interfaceGenerated Transfer Object extendsGeneratedTypeand is designed to represent Java Class.interfaceEvery Java interface has to be specified with:packagethat belongs intointerfacename (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.interfaceRepresents an instance of simple parameterized type such as List<String>.interfaceMarker interface which assign to object property that it is a bounded wildcard type.Classes in org.opendaylight.mdsal.binding.model.api that implement TypeMethods in org.opendaylight.mdsal.binding.model.api that return TypeModifier and TypeMethodDescriptionType[]ParameterizedType.getActualTypeArguments()Returns array of Types that are defined for Parameterized Type.ParameterizedType.getRawType()Returns the Raw Type definition of Parameterized Type.TypeMember.getReturnType()Get the returning Type of member.Constant.getType()Returns the return Type (or just Type) of the Constant.MethodSignature.Parameter.getType()Returns Type that is bounded to parameter name.static @NonNull Typestatic @NonNull TypeType.of(JavaTypeName identifier) static @NonNull TypeType.of(org.opendaylight.yangtools.concepts.Identifiable<JavaTypeName> type) Methods in org.opendaylight.mdsal.binding.model.api that return types with arguments of type TypeModifier and TypeMethodDescriptionGeneratedType.getImplements()Returns List of Types that Generated Type will implement.Methods in org.opendaylight.mdsal.binding.model.api with parameters of type TypeModifier and TypeMethodDescriptionGenerates code fortype.CodeGenerator.getUnitName(Type type) Returns name oftypeparameter.booleanCodeGenerator.isAcceptable(Type type) Checks if the concrete instance oftypefit to concrete implementation of this interface (e.g. -
Uses of Type in org.opendaylight.mdsal.binding.model.api.type.builder
Subinterfaces of Type in org.opendaylight.mdsal.binding.model.api.type.builderModifier and TypeInterfaceDescriptioninterfaceAnnotation Type Builder Interface serves for creation and instantiation of immutable copy of Annotation Type.interfaceEnum Builder is interface that contains methods to build and instantiate Enumeration definition.interfaceGenerated Transfer Object Builder is interface that contains methods to build and instantiate Generated Transfer Object definition.interfaceGenerated Type Builder interface is helper interface for building and defining the GeneratedType.interfaceGeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>>Methods in org.opendaylight.mdsal.binding.model.api.type.builder that return types with arguments of type TypeMethods in org.opendaylight.mdsal.binding.model.api.type.builder with parameters of type TypeModifier and TypeMethodDescriptionGeneratedTypeBuilderBase.addConstant(Type type, String name, Object value) Adds Constant definition and returnsnewConstant instance.
By definition Constant MUST be defined by return Type, Name and assigned value.GeneratedTypeBuilderBase.addImplementsType(Type genType) Add Type to implements.MethodSignatureBuilder.addParameter(Type type, String name) Adds Parameter into the List of method parameters.TypeMemberBuilder.setReturnType(Type returnType) Adds return Type into Builder definition for Generated Property.MethodSignatureBuilder.toInstance(Type definingType) Returnsnewimmutable instance of Method Signature.