public enum AuthorType extends Enum<AuthorType>
Enum Constant and Description |
---|
TYPE_APPLICATION |
TYPE_USER_ADMINISTRATOR |
TYPE_USER_OWNER |
Modifier and Type | Method and Description |
---|---|
int |
getTypeValue()
return author type value
|
static AuthorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorType TYPE_APPLICATION
public static final AuthorType TYPE_USER_OWNER
public static final AuthorType TYPE_USER_ADMINISTRATOR
public static AuthorType[] values()
for (AuthorType c : AuthorType.values()) System.out.println(c);
public static AuthorType 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 getTypeValue()
Copyright © 2022 City of Paris. All rights reserved.