public enum PropertyOptions extends Enum<PropertyOptions>
ObjectUtilities.beanToString(Object).
(This is copied from ph-commons-util.)| Enum Constant and Description |
|---|
HIDE_VALUE
Value of property will be omitted, but property will be shown in toString() if non-null
to indicate its presence.
|
IGNORE_PROPERTY
Property should be left out completely from toString() results
|
SHOW_FULL
The default option, this shows the property value in full glory, expanding Arrays and
calling
Object.toString() on Objects. |
| Modifier and Type | Method and Description |
|---|---|
static PropertyOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyOptions IGNORE_PROPERTY
public static final PropertyOptions HIDE_VALUE
public static final PropertyOptions SHOW_FULL
Object.toString() on Objects.public static PropertyOptions[] values()
for (PropertyOptions c : PropertyOptions.values()) System.out.println(c);
public static PropertyOptions 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 nullCopyright © 2008–2026 The University of Edinburgh. All rights reserved.