All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.codegen.EnumValueInfo Maven / Gradle / Ivy

There is a newer version: 3.6.3
Show newest version
package io.vertx.codegen;

import io.vertx.codegen.doc.Doc;

/**
 * The value (member) of an enumeration model.
 *
 * @author Julien Viet
 */
public class EnumValueInfo {

  private final String identifier;
  private final Doc doc;

  public EnumValueInfo(String identifier, Doc doc) {
    this.identifier = identifier;
    this.doc = doc;
  }

  /**
   * @return the value identifier
   */
  public String getIdentifier() {
    return identifier;
  }

  /**
   * @return the optional documentation
   */
  public Doc getDoc() {
    return doc;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy