Package org.nuiton.eugene.java
Enum EugeneJavaTagValues.Store
- java.lang.Object
-
- java.lang.Enum<EugeneJavaTagValues.Store>
-
- org.nuiton.eugene.java.EugeneJavaTagValues.Store
-
- All Implemented Interfaces:
Serializable,Comparable<EugeneJavaTagValues.Store>,TagValueMetadata
- Enclosing class:
- EugeneJavaTagValues
public static enum EugeneJavaTagValues.Store extends Enum<EugeneJavaTagValues.Store> implements TagValueMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()StringgetDescription()Class<EqualsTagValueNameMatcher>getMatcherClass()StringgetName()Set<Class<?>>getTargets()Class<?>getType()booleanisDeprecated()static EugeneJavaTagValues.StorevalueOf(String name)Returns the enum constant of this type with the specified name.static EugeneJavaTagValues.Store[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
bean
public static final EugeneJavaTagValues.Store bean
Boolean tag value for JavaBean objects to place on a classifier or package.- Since:
- 2.5.6
- See Also:
EugeneJavaTagValues.isBean(ObjectModelClassifier, ObjectModelPackage)
-
java8
public static final EugeneJavaTagValues.Store java8
To use java 8 new syntax and api in generation. You can globally use it on the complete model.- Since:
- 2.15
- See Also:
EugeneJavaTagValues.isUseJava8(ObjectModel)
-
-
Method Detail
-
values
public static EugeneJavaTagValues.Store[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EugeneJavaTagValues.Store c : EugeneJavaTagValues.Store.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EugeneJavaTagValues.Store valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
- Specified by:
getNamein interfaceTagValueMetadata
-
getTargets
public Set<Class<?>> getTargets()
- Specified by:
getTargetsin interfaceTagValueMetadata
-
getType
public Class<?> getType()
- Specified by:
getTypein interfaceTagValueMetadata
-
getMatcherClass
public Class<EqualsTagValueNameMatcher> getMatcherClass()
- Specified by:
getMatcherClassin interfaceTagValueMetadata
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceTagValueMetadata
-
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValuein interfaceTagValueMetadata
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceTagValueMetadata
-
-