public enum RegistrationType extends java.lang.Enum<RegistrationType>
Enum Constant and Description |
---|
EMPTY
A newly created
Registration without any name and
typification. |
NAME
A
Registration for a new name |
NAME_AND_TYPIFICATION
A
Registration for a new name and one or more according
typifications. |
TYPIFICATION
A
Registration for one or more typifications for an
previously published name. |
Modifier and Type | Method and Description |
---|---|
static RegistrationType |
from(Registration reg) |
boolean |
isEnmpty() |
boolean |
isName() |
boolean |
isNameAndTypification() |
boolean |
isTypification() |
static RegistrationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationType NAME
Registration
for a new namepublic static final RegistrationType NAME_AND_TYPIFICATION
Registration
for a new name and one or more according
typifications.public static final RegistrationType TYPIFICATION
Registration
for one or more typifications for an
previously published name.public static final RegistrationType EMPTY
Registration
without any name and
typification.public static RegistrationType[] values()
for (RegistrationType c : RegistrationType.values()) System.out.println(c);
public static RegistrationType 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 static RegistrationType from(Registration reg)
reg
- public boolean isName()
public boolean isTypification()
public boolean isNameAndTypification()
public boolean isEnmpty()
Copyright © 2007-2020 EDIT. All Rights Reserved.