Serializable, Comparable<BindableDescriptor.GroupingMethod>public static enum BindableDescriptor.GroupingMethod extends Enum<BindableDescriptor.GroupingMethod>
AttributeDescriptor grouping methods.BindableDescriptor.group(GroupingMethod)| Enum Constant | Description |
|---|---|
GROUP |
Grouping by the "semantic" group assigned to the attribute.
|
LEVEL |
Grouping by the
AttributeLevel. |
NONE |
No grouping, all attributes will be put in
BindableDescriptor.attributeDescriptors. |
STRUCTURE |
Grouping by the
Class in which the attribute is declared. |
| Modifier and Type | Method | Description |
|---|---|---|
String |
toString() |
|
static BindableDescriptor.GroupingMethod |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BindableDescriptor.GroupingMethod[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindableDescriptor.GroupingMethod STRUCTURE
Class in which the attribute is declared. Attributes
defined directly in the top-level BindableDescriptor will be put in
BindableDescriptor.attributeDescriptors.
Group key type: Class.
public static final BindableDescriptor.GroupingMethod LEVEL
AttributeLevel. Attributes without
AttributeLevel will be put in
BindableDescriptor.attributeDescriptors.
Group key type: AttributeLevel
public static final BindableDescriptor.GroupingMethod GROUP
BindableDescriptor.attributeDescriptors.
Group key type: String.
AttributeMetadata.getGroup()public static final BindableDescriptor.GroupingMethod NONE
BindableDescriptor.attributeDescriptors.BindableDescriptor.flatten()public static BindableDescriptor.GroupingMethod[] values()
for (BindableDescriptor.GroupingMethod c : BindableDescriptor.GroupingMethod.values()) System.out.println(c);
public static BindableDescriptor.GroupingMethod 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 toString()
toString in class Enum<BindableDescriptor.GroupingMethod>Copyright © 2018 Carrot2.org. All rights reserved.