public static enum MetadataDescription.MetadataType extends Enum<MetadataDescription.MetadataType>
Enum Constant and Description |
---|
MEDIA
Metadata type for Media elements.
|
MEDIAFOLDER
Metadata type for MediaFolder elements.
|
PAGE
Metadata type for Page elements.
|
PAGEREF
Metadata type for PageRef elements.
|
PAGEREFFOLDER
Metadata type for PageRefFolder elements.
|
SECTION
Metadata type for Section elements.
|
Modifier and Type | Method and Description |
---|---|
static MetadataDescription.MetadataType |
fromType(Class<? extends IDProvider> type)
Returns the related MetadataType for the specified IDProvider type, or null.
|
Class<? extends IDProvider> |
getType()
Returns the associated IDProvider type for this MetadataType.
|
static MetadataDescription.MetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataDescription.MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataDescription.MetadataType PAGE
public static final MetadataDescription.MetadataType SECTION
public static final MetadataDescription.MetadataType PAGEREF
public static final MetadataDescription.MetadataType PAGEREFFOLDER
public static final MetadataDescription.MetadataType MEDIA
public static final MetadataDescription.MetadataType MEDIAFOLDER
public static MetadataDescription.MetadataType[] values()
for (MetadataDescription.MetadataType c : MetadataDescription.MetadataType.values()) System.out.println(c);
public static MetadataDescription.MetadataType 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 null@NotNull public Class<? extends IDProvider> getType()
@Nullable public static MetadataDescription.MetadataType fromType(@NotNull Class<? extends IDProvider> type)
type
- the associated IDProvider type.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408