public enum PropertyDescriptorField extends java.lang.Enum<PropertyDescriptorField>
RuleSetFactory
,
PropertyTypeId
Enum Constant and Description |
---|
CHOICES
Choices for enumerated properties.
|
DEFAULT_INDEX
Default index for enumerated properties.
|
DEFAULT_VALUE
The default value.
|
DELIMITER
For multi-valued properties, this defines the delimiter of the single values.
|
DESCRIPTION
The description of the property.
|
LABELS
Labels for enumerated properties.
|
LEGAL_PACKAGES
To limit the range of valid values, package names.
|
MAX
The maximum allowed value for numeric properties.
|
MIN
The minimum allowed value for numeric properties.
|
NAME
The name of the property.
|
TYPE
The type of the property.
|
UI_ORDER
The UI order.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
attributeName()
Returns the String name of this attribute.
|
static PropertyDescriptorField |
getConstant(java.lang.String name) |
java.lang.String |
toString() |
static PropertyDescriptorField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyDescriptorField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyDescriptorField TYPE
public static final PropertyDescriptorField NAME
public static final PropertyDescriptorField DESCRIPTION
public static final PropertyDescriptorField UI_ORDER
public static final PropertyDescriptorField DEFAULT_VALUE
public static final PropertyDescriptorField DELIMITER
public static final PropertyDescriptorField MIN
public static final PropertyDescriptorField MAX
public static final PropertyDescriptorField LEGAL_PACKAGES
public static final PropertyDescriptorField LABELS
public static final PropertyDescriptorField CHOICES
public static final PropertyDescriptorField DEFAULT_INDEX
public static PropertyDescriptorField[] values()
for (PropertyDescriptorField c : PropertyDescriptorField.values()) System.out.println(c);
public static PropertyDescriptorField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String attributeName()
public java.lang.String toString()
toString
in class java.lang.Enum<PropertyDescriptorField>
public static PropertyDescriptorField getConstant(java.lang.String name)
Copyright © 2002–2018 PMD. All rights reserved.