public enum PropertyType extends Enum<PropertyType>
| Enum Constant and Description |
|---|
FLAG
Flag that is true just by its presence.
|
SINGLE_NAME_VALUE
Name-value parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAccumulate() |
boolean |
isFlag() |
boolean |
isMultipleOk() |
boolean |
isNotReal() |
boolean |
isReal() |
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType FLAG
public static final PropertyType SINGLE_NAME_VALUE
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 boolean isFlag()
public boolean isMultipleOk()
public boolean isAccumulate()
public boolean isReal()
public boolean isNotReal()
Copyright © 2017. All rights reserved.