public enum AgentType extends Enum<AgentType>
Agent| Enum Constant and Description |
|---|
COMMERCIAL
Commercial organisation
|
EDUCATIONAL
Educational Institution
|
GOVERNMENT
Commercial organisation
|
NONPROFIT
Not for profit organisation
|
OTHER
None of the above categories
|
STANDARD
Standardisation body, e.g ANSI, ISO
|
| Modifier and Type | Field and Description |
|---|---|
String |
name
A String name for the type, used for reporting.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AgentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentType COMMERCIAL
public static final AgentType GOVERNMENT
public static final AgentType EDUCATIONAL
public static final AgentType NONPROFIT
public static final AgentType STANDARD
public static final AgentType OTHER
public final String name
public static AgentType[] values()
for (AgentType c : AgentType.values()) System.out.println(c);
public static AgentType 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 nullCopyright © 2008–2019 The Open Preservation Foundation. All rights reserved.