public static enum CommonOrganisation.OrganisationType extends Enum<CommonOrganisation.OrganisationType>
| Enum Constant and Description |
|---|
COMPANY |
GOVERNMENT_ENTITY |
OTHER |
PARTNERSHIP |
SOLE_TRADER |
TRUST |
| Modifier and Type | Method and Description |
|---|---|
static CommonOrganisation.OrganisationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonOrganisation.OrganisationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonOrganisation.OrganisationType SOLE_TRADER
public static final CommonOrganisation.OrganisationType COMPANY
public static final CommonOrganisation.OrganisationType PARTNERSHIP
public static final CommonOrganisation.OrganisationType TRUST
public static final CommonOrganisation.OrganisationType GOVERNMENT_ENTITY
public static final CommonOrganisation.OrganisationType OTHER
public static CommonOrganisation.OrganisationType[] values()
for (CommonOrganisation.OrganisationType c : CommonOrganisation.OrganisationType.values()) System.out.println(c);
public static CommonOrganisation.OrganisationType 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 © 2020. All rights reserved.