package io.vertx.codegen;

import io.vertx.codegen.doc.Doc;
import io.vertx.codegen.doc.Text;

The value (member) of an enumeration model.
Author:Julien Viet
/** * The value (member) of an enumeration model. * * @author <a href="mailto:julien@julienviet.com">Julien Viet</a> */
public class EnumValueInfo { private final String identifier; private final Doc doc; private final boolean deprecated; private final Text deprecatedDesc; public EnumValueInfo(String identifier, Doc doc, boolean deprecated, Text deprecatedDesc) { this.identifier = identifier; this.doc = doc; this.deprecated = deprecated; this.deprecatedDesc = deprecatedDesc; }
Returns:the value identifier
/** * @return the value identifier */
public String getIdentifier() { return identifier; }
Returns:the optional documentation
/** * @return the optional documentation */
public Doc getDoc() { return doc; }
Returns:true if the enum value has a @Deprecated annotation
/** * @return {@code true} if the enum value has a {@code @Deprecated} annotation */
public boolean isDeprecated() { return deprecated; }
Returns:the description of deprecated
/** * @return the description of deprecated */
public Text getDeprecatedDesc() { return deprecatedDesc; } }