public static enum ApiProperty.SCOPE extends java.lang.Enum<ApiProperty.SCOPE>
Enum Constant and Description |
---|
BOTH
The property will be serialized as part of both a main and a sub-entity.
|
INLINE
The property will only be serialized as part of a sub-enity.
|
RESOURCE
The property will only be serialized as part of a main entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ApiProperty.SCOPE scope)
Determines if the current scope contains the passed in scope value.
|
static ApiProperty.SCOPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiProperty.SCOPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiProperty.SCOPE RESOURCE
public static final ApiProperty.SCOPE INLINE
public static final ApiProperty.SCOPE BOTH
public static ApiProperty.SCOPE[] values()
for (ApiProperty.SCOPE c : ApiProperty.SCOPE.values()) System.out.println(c);
public static ApiProperty.SCOPE 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 boolean contains(ApiProperty.SCOPE scope)
scope
- The scope value to test the current scope against."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"