public enum CollectionSource extends Enum<CollectionSource>
Enum Constant and Description |
---|
COLLECTION
The dataset source is a new collection.
|
HDA
The dataset source is from a History.
|
Modifier and Type | Method and Description |
---|---|
String |
getSource() |
static CollectionSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionSource HDA
public static final CollectionSource COLLECTION
public static CollectionSource[] values()
for (CollectionSource c : CollectionSource.values()) System.out.println(c);
public static CollectionSource 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 getSource()
Copyright © 2014. All rights reserved.