public enum PropertyKind extends Enum<PropertyKind>
Corresponds to the four different kind of PropertyInfo
.
Enum Constant and Description |
---|
ATTRIBUTE |
ELEMENT |
MAP |
REFERENCE |
VALUE |
Modifier and Type | Field and Description |
---|---|
boolean |
canHaveXmlMimeType
This kind of property can have
XmlMimeType and XmlInlineBinaryData
annotation with it. |
boolean |
isOrdered
This kind of properties need to show up in
XmlType.propOrder() . |
int |
propertyIndex
|
Modifier and Type | Method and Description |
---|---|
static PropertyKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyKind VALUE
public static final PropertyKind ATTRIBUTE
public static final PropertyKind ELEMENT
public static final PropertyKind REFERENCE
public static final PropertyKind MAP
public final boolean canHaveXmlMimeType
XmlMimeType
and XmlInlineBinaryData
annotation with it.public final boolean isOrdered
XmlType.propOrder()
.public final int propertyIndex
public static PropertyKind[] values()
for (PropertyKind c : PropertyKind.values()) System.out.println(c);
public static PropertyKind 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 © 2020 JBoss by Red Hat. All rights reserved.