Top Description Fields Constructors Methods
io.vertx.codegen

public Class EnumValueInfo

extends Object
Class Inheritance
Imports
io.vertx.codegen.doc.Doc, .Text

The value (member) of an enumeration model.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final boolean
private final Text
private final Doc
private final String

Constructor Summary

AccessConstructor and Description
public
EnumValueInfo(String identifier, Doc doc, boolean deprecated, Text deprecatedDesc)

Method Summary

Modifier and TypeMethod and Description
public Text

Returns:

the description of deprecated
getDeprecatedDesc
()

public Doc

Returns:

the optional documentation
getDoc
()

public String

Returns:

the value identifier
getIdentifier
()

public boolean

Returns:

true if the enum value has a @Deprecated annotation
isDeprecated
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

deprecatedback to summary
private final boolean deprecated
deprecatedDescback to summary
private final Text deprecatedDesc
docback to summary
private final Doc doc
identifierback to summary
private final String identifier

Constructor Detail

EnumValueInfoback to summary
public EnumValueInfo(String identifier, Doc doc, boolean deprecated, Text deprecatedDesc)

Method Detail

getDeprecatedDescback to summary
public Text getDeprecatedDesc()
Returns:Text

the description of deprecated

getDocback to summary
public Doc getDoc()
Returns:Doc

the optional documentation

getIdentifierback to summary
public String getIdentifier()
Returns:String

the value identifier

isDeprecatedback to summary
public boolean isDeprecated()
Returns:boolean

true if the enum value has a @Deprecated annotation