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