public enum FeedMappingErrorReason extends Enum<FeedMappingErrorReason>
Java class for FeedMappingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FeedMappingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_PLACEHOLDER_FIELD"/>
<enumeration value="INVALID_CRITERION_FIELD"/>
<enumeration value="INVALID_PLACEHOLDER_TYPE"/>
<enumeration value="INVALID_CRITERION_TYPE"/>
<enumeration value="CANNOT_SET_PLACEHOLDER_TYPE_AND_CRITERION_TYPE"/>
<enumeration value="NO_ATTRIBUTE_FIELD_MAPPINGS"/>
<enumeration value="FEED_ATTRIBUTE_TYPE_MISMATCH"/>
<enumeration value="CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED"/>
<enumeration value="MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE"/>
<enumeration value="MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE"/>
<enumeration value="MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD"/>
<enumeration value="MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD"/>
<enumeration value="UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS"/>
<enumeration value="LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS"/>
<enumeration value="CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED"/>
<enumeration value="INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED"/>
<enumeration value="INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED
Mappings for typed feeds cannot be modified.
|
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED
A feed mapping for a system generated feed cannot be operated on.
|
CANNOT_SET_PLACEHOLDER_TYPE_AND_CRITERION_TYPE
Cannot specify both placeholder type and criterion type.
|
FEED_ATTRIBUTE_TYPE_MISMATCH
The type of the feed attribute referenced in the attribute field mapping must match
the type of the placeholder field.
|
INVALID_CRITERION_FIELD
The given criterion field does not exist.
|
INVALID_CRITERION_TYPE
The given criterion type does not exist.
|
INVALID_PLACEHOLDER_FIELD
The given placeholder field does not exist.
|
INVALID_PLACEHOLDER_TYPE
The given placeholder type does not exist.
|
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED
The given placeholder type can only be mapped to system generated feeds.
|
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE
The given placeholder type cannot be mapped to a system generated feed with the given type.
|
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS
Location placeholder feedmappings can only be created for Places feeds.
|
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD
Only one feed attribute mapping for a criterion field is allowed
(depending on the criterion type).
|
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE
Only one feed mapping for a criterion type is allowed per customer.
|
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD
Only one feed attribute mapping for a placeholder field is allowed
(depending on the placeholder type).
|
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE
Only one feed mapping for a placeholder type is allowed per feed or customer
(depending on the placeholder type).
|
NO_ATTRIBUTE_FIELD_MAPPINGS
A feed mapping must contain at least one attribute field mapping.
|
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS
This feed mapping may not contain any explicit attribute field mappings.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static FeedMappingErrorReason |
fromValue(String v) |
String |
value() |
static FeedMappingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedMappingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedMappingErrorReason INVALID_PLACEHOLDER_FIELD
public static final FeedMappingErrorReason INVALID_CRITERION_FIELD
public static final FeedMappingErrorReason INVALID_PLACEHOLDER_TYPE
public static final FeedMappingErrorReason INVALID_CRITERION_TYPE
public static final FeedMappingErrorReason CANNOT_SET_PLACEHOLDER_TYPE_AND_CRITERION_TYPE
public static final FeedMappingErrorReason NO_ATTRIBUTE_FIELD_MAPPINGS
public static final FeedMappingErrorReason FEED_ATTRIBUTE_TYPE_MISMATCH
public static final FeedMappingErrorReason CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED
public static final FeedMappingErrorReason MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE
public static final FeedMappingErrorReason MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE
public static final FeedMappingErrorReason MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD
public static final FeedMappingErrorReason MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD
public static final FeedMappingErrorReason UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS
public static final FeedMappingErrorReason LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS
public static final FeedMappingErrorReason CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED
public static final FeedMappingErrorReason INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED
public static final FeedMappingErrorReason INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE
public static final FeedMappingErrorReason UNKNOWN
public static FeedMappingErrorReason[] values()
for (FeedMappingErrorReason c : FeedMappingErrorReason.values()) System.out.println(c);
public static FeedMappingErrorReason 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 value()
public static FeedMappingErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.