public enum SharingState extends Enum<SharingState>
IReferenceHandler
via
IReferenceHandler.registerResource(IWriteContext, java.lang.Object)
.Enum Constant and Description |
---|
DUPLICATE
The object has been registered multiple times and will be shared.
|
FIRST_SEEN
The object has been registered the first time.
|
UNSHARED
The registered object shall not be shared.
|
Modifier and Type | Method and Description |
---|---|
static SharingState |
fromOrdinal(int ordinal) |
int |
value() |
static SharingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingState DUPLICATE
public static final SharingState FIRST_SEEN
public static final SharingState UNSHARED
public static final SharingState fromOrdinal(int ordinal)
public int value()
public static SharingState valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static SharingState[] values()
for (SharingState c : SharingState.values()) System.out.println(c);