public static enum LandOwnershipProvider.LandOwnership extends java.lang.Enum<LandOwnershipProvider.LandOwnership>
Modifier and Type | Method and Description |
---|---|
static LandOwnershipProvider.LandOwnership |
getLandOwnership(java.lang.String ownershipCode)
This method returns the LandOwnership associated with the ownership code, which can be "PU" for public or "PR"
for private-owned land.
|
static LandOwnershipProvider.LandOwnership |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LandOwnershipProvider.LandOwnership[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LandOwnershipProvider.LandOwnership Public
public static final LandOwnershipProvider.LandOwnership Private
public static LandOwnershipProvider.LandOwnership[] values()
for (LandOwnershipProvider.LandOwnership c : LandOwnershipProvider.LandOwnership.values()) System.out.println(c);
public static LandOwnershipProvider.LandOwnership 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 LandOwnershipProvider.LandOwnership getLandOwnership(java.lang.String ownershipCode)
ownershipCode
- a String