X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=code-generator%2Fbinding-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fsal%2Fbinding%2Fmodel%2Fapi%2Ftype%2Fbuilder%2FTypeMemberBuilder.java;h=34e0c2d5cfad9636382ebaba36e39e4156c7bc11;hb=694963e826d61dce6a2568d4b4a8cb7f449d58dc;hp=bfad711bb0e06174264d62ed2a25f04e170be736;hpb=906fae19c653e8872ecbaea33f152a13a0a8bf9e;p=yangtools.git diff --git a/code-generator/binding-model-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/type/builder/TypeMemberBuilder.java b/code-generator/binding-model-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/type/builder/TypeMemberBuilder.java index bfad711bb0..34e0c2d5cf 100644 --- a/code-generator/binding-model-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/type/builder/TypeMemberBuilder.java +++ b/code-generator/binding-model-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/type/builder/TypeMemberBuilder.java @@ -9,61 +9,63 @@ import org.opendaylight.yangtools.sal.binding.model.api.Type; public interface TypeMemberBuilder> { /** - * The method creates new AnnotationTypeBuilder containing specified - * package name an annotation name. - *
- * Neither the package name or annotation name can contain - * null references. In case that - * any of parameters contains null the method SHOULD thrown - * {@link IllegalArgumentException} - * - * @param packageName Package Name of Annotation Type - * @param name Name of Annotation Type + * The method creates new AnnotationTypeBuilder containing specified package + * name an annotation name.
+ * Neither the package name or annotation name can contain null + * references. In case that any of parameters contains null the + * method SHOULD thrown {@link IllegalArgumentException} + * + * @param packageName + * Package Name of Annotation Type + * @param name + * Name of Annotation Type * @return new instance of Annotation Type Builder. */ - public AnnotationTypeBuilder addAnnotation(final String packageName, final String name); + AnnotationTypeBuilder addAnnotation(final String packageName, final String name); /** * Returns the name of property. - * + * * @return the name of property. */ - public String getName(); + String getName(); /** - * Adds return Type into Builder definition for Generated Property. - *
- * The return Type MUST NOT be null, - * otherwise the method SHOULD throw {@link IllegalArgumentException} - * - * @param returnType Return Type of property. + * Adds return Type into Builder definition for Generated Property.
+ * The return Type MUST NOT be null, otherwise the method + * SHOULD throw {@link IllegalArgumentException} + * + * @param returnType + * Return Type of property. */ - public T setReturnType(final Type returnType); + T setReturnType(final Type returnType); /** * Sets the access modifier of property. - * - * @param modifier Access Modifier value. + * + * @param modifier + * Access Modifier value. */ - public T setAccessModifier(final AccessModifier modifier); + T setAccessModifier(final AccessModifier modifier); /** - * Adds String definition of comment into Method Signature definition. - *
+ * Adds String definition of comment into Method Signature definition.
* The comment String MUST NOT contain anny comment specific chars (i.e. * "/**" or "//") just plain String text description. - * - * @param comment Comment String. + * + * @param comment + * Comment String. */ - public T setComment(final String comment); + T setComment(final String comment); /** - * Sets the flag final for method signature. If this is set the method will be prohibited from overriding. - *
- * This setting is irrelevant for methods designated to be defined in interface definitions because interface - * can't have final method. - * - * @param isFinal Is Final + * Sets the flag final for method signature. If this is set the method will + * be prohibited from overriding.
+ * This setting is irrelevant for methods designated to be defined in + * interface definitions because interface can't have final method. + * + * @param isFinal + * Is Final */ - public T setFinal(final boolean isFinal); + T setFinal(final boolean isFinal); }