public enum RegistrationStatus extends java.lang.Enum<RegistrationStatus> implements IEnumTerm<RegistrationStatus>
Enum Constant and Description |
---|
CURATION
A record ready for the curator to be validated.
|
PREPARATION
A new record which is being edited by the Author
|
PUBLISHED
The name or typification has finally been published.
|
READY
The record has passed the validation by the curator and is ready for publication.
|
REJECTED
The registration has been rejected, the process is aborted and the record is preserved.
|
Modifier and Type | Method and Description |
---|---|
static RegistrationStatus |
getByKey(java.lang.String key) |
static RegistrationStatus |
getByUuid(java.util.UUID uuid) |
java.util.Set<RegistrationStatus> |
getGeneralizationOf()
Returns all defined terms this term is a direct generalization for.
|
java.util.Set<RegistrationStatus> |
getGeneralizationOf(boolean recursive)
Returns all defined terms this term is a generalization for.
|
java.lang.String |
getKey()
Returns the key for the enumeration.
|
RegistrationStatus |
getKindOf()
Returns the defined term this term is a kind of.
|
java.lang.String |
getMessage()
Returns a human readable label preferably for the default language.
|
java.lang.String |
getMessage(Language language)
Returns a human readable label preferably for the given language.
|
java.util.UUID |
getUuid() |
boolean |
isKindOf(RegistrationStatus ancestor)
Computes if
this term is kind of the ancestor term. |
static RegistrationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationStatus PREPARATION
public static final RegistrationStatus CURATION
public static final RegistrationStatus READY
public static final RegistrationStatus PUBLISHED
public static final RegistrationStatus REJECTED
public static RegistrationStatus[] values()
for (RegistrationStatus c : RegistrationStatus.values()) System.out.println(c);
public static RegistrationStatus 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 java.lang.String getKey()
IKeyTerm
public java.lang.String getMessage()
IKeyTerm
getMessage
in interface IKeyTerm
public java.lang.String getMessage(Language language)
IKeyTerm
getMessage
in interface IKeyTerm
public java.util.UUID getUuid()
getUuid
in interface ISimpleTerm<RegistrationStatus>
public RegistrationStatus getKindOf()
ISimpleTerm
this
termgetKindOf
in interface ISimpleTerm<RegistrationStatus>
public java.util.Set<RegistrationStatus> getGeneralizationOf()
ISimpleTerm
this
term.getGeneralizationOf
in interface ISimpleTerm<RegistrationStatus>
public boolean isKindOf(RegistrationStatus ancestor)
ISimpleTerm
this
term is kind of the ancestor
term.
So the ancestor
term is direct or indirect (recursive) generalization
of this
term.isKindOf
in interface ISimpleTerm<RegistrationStatus>
ancestor
- the potential ancestor termISimpleTerm.getKindOf()
,
ISimpleTerm.getGeneralizationOf()
public java.util.Set<RegistrationStatus> getGeneralizationOf(boolean recursive)
ISimpleTerm
this
term.
If parameter recursive
is false
only the
direct descendants will be returned. If it is true
the direct descendants and there recursive descendants (all descendants)
will be returned.getGeneralizationOf
in interface ISimpleTerm<RegistrationStatus>
public static RegistrationStatus getByKey(java.lang.String key)
public static RegistrationStatus getByUuid(java.util.UUID uuid)
Copyright © 2007-2020 EDIT. All Rights Reserved.