- All Implemented Interfaces:
Serializable
,Comparable<AreaUnitId>
,Constable
Defines a list of the most commonly-used units of area measurement. These values can be used to create instances
of
AreaUnit
, as an alternative to using well-known IDs (WKIDs).
In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of an
area unit to the inherited Unit.fromWkid(int)
factory method. The supported WKIDs are documented in the
'Projected coordinate systems' table in the developer Guide.
- Since:
- 100.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates an area measurement in acres.Indicates an area measurement in hectares.Indicates that the unit of area measurement is a custom unit, or a unit not listed in the enumerated type.Indicates an area measurement in square centimeters.Indicates an area measurement in square decimeters.Indicates an area measurement in square feet.Indicates an area measurement in square kilometers.Indicates an area measurement in square meters.Indicates an area measurement in square statute miles.Indicates an area measurement in square millimeters.Indicates an area measurement in square yards. -
Method Summary
Modifier and TypeMethodDescriptionstatic AreaUnitId
Returns the enum constant of this class with the specified name.static AreaUnitId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HECTARES
Indicates an area measurement in hectares. This unit has a WKID of 109401. -
ACRES
Indicates an area measurement in acres. This unit has a WKID of 109402. -
SQUARE_METERS
Indicates an area measurement in square meters. This unit has a WKID of 109404. -
SQUARE_FEET
Indicates an area measurement in square feet. This unit has a WKID of 109405. -
SQUARE_KILOMETERS
Indicates an area measurement in square kilometers. This unit has a WKID of 109414. -
SQUARE_MILES
Indicates an area measurement in square statute miles. This unit has a WKID of 109439. -
SQUARE_YARDS
Indicates an area measurement in square yards. This unit has a WKID of 109442. -
SQUARE_DECIMETERS
Indicates an area measurement in square decimeters. This unit has a WKID of 109450. -
SQUARE_CENTIMETERS
Indicates an area measurement in square centimeters. This unit has a WKID of 109451. -
SQUARE_MILLIMETERS
Indicates an area measurement in square millimeters. This unit has a WKID of 109452. -
OTHER
Indicates that the unit of area measurement is a custom unit, or a unit not listed in the enumerated type.This value may be returned from an AreaUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration. See
Unit.getWkid()
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-