public static enum GeneratePrimitiveClasses.PrimitiveType extends Enum<GeneratePrimitiveClasses.PrimitiveType>
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
Modifier and Type | Method and Description |
---|---|
String |
getBoxed() |
String |
getCamel() |
String |
getLower() |
String |
getName() |
boolean |
hasWritable() |
boolean |
isFloating() |
boolean |
isId() |
boolean |
isNumeric() |
static GeneratePrimitiveClasses.PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneratePrimitiveClasses.PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneratePrimitiveClasses.PrimitiveType BOOLEAN
public static final GeneratePrimitiveClasses.PrimitiveType BYTE
public static final GeneratePrimitiveClasses.PrimitiveType SHORT
public static final GeneratePrimitiveClasses.PrimitiveType INT
public static final GeneratePrimitiveClasses.PrimitiveType LONG
public static final GeneratePrimitiveClasses.PrimitiveType FLOAT
public static final GeneratePrimitiveClasses.PrimitiveType DOUBLE
public static GeneratePrimitiveClasses.PrimitiveType[] values()
for (GeneratePrimitiveClasses.PrimitiveType c : GeneratePrimitiveClasses.PrimitiveType.values()) System.out.println(c);
public static GeneratePrimitiveClasses.PrimitiveType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getCamel()
public String getLower()
public String getBoxed()
public boolean isNumeric()
public boolean isId()
public boolean isFloating()
public boolean hasWritable()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.