package org.opendaylight.mdsal.binding2.model.api.type.builder;
import com.google.common.annotations.Beta;
-import java.util.Enumeration;
+import org.opendaylight.mdsal.binding2.model.api.Enumeration;
import org.opendaylight.mdsal.binding2.model.api.Type;
+import org.opendaylight.yangtools.yang.model.api.Status;
import org.opendaylight.yangtools.yang.model.api.type.EnumTypeDefinition;
/**
public interface EnumBuilder extends Type {
/**
* The method creates new AnnotationTypeBuilder containing specified package
- * name an annotation name. <br>
+ * name and annotation name. <br>
* Neither the package name or annotation name can contain <code>null</code>
* references. In case that any of parameters contains <code>null</code> the
- * method SHOULD thrown {@link IllegalArgumentException}
+ * method SHOULD throw {@link IllegalArgumentException}
*
* @param packageName
* Package Name of Annotation Type
/**
*
* @param name
+ * assigned name
* @param value
+ * as optionally defined in YANG model
+ * @param description
+ * as optionally defined in YANG model
+ * @param reference
+ * as optionally defined in YANG model
+ * @param status
+ * as optionally defined in YANG model
*/
- void addValue(final String name, final Integer value, final String description);
+ void addValue(final String name, final int value, final String description,
+ final String reference, final Status status);
/**
*
* @param definingType
- * @return
+ * Type
+ * @return Enumeration
*/
Enumeration toInstance(final Type definingType);