public enum ElementOrigin extends Enum<ElementOrigin> implements Serializable
| Enum Constant and Description |
|---|
CONFIGURATION |
CONTENT_PACK |
DEREGISTERED_REPOSITORY |
EXPORT_ARCHIVE |
EXTERNAL_SOURCE |
LOCAL_COHORT |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description of the metadata element origin.
|
String |
getName()
Return the name of the metadata element origin.
|
int |
getOrdinal()
Return the code for metadata element.
|
String |
toString()
Standard toString method.
|
static ElementOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementOrigin UNKNOWN
public static final ElementOrigin LOCAL_COHORT
public static final ElementOrigin EXPORT_ARCHIVE
public static final ElementOrigin CONTENT_PACK
public static final ElementOrigin DEREGISTERED_REPOSITORY
public static final ElementOrigin CONFIGURATION
public static final ElementOrigin EXTERNAL_SOURCE
public static ElementOrigin[] values()
for (ElementOrigin c : ElementOrigin.values()) System.out.println(c);
public static ElementOrigin 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<ElementOrigin>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.