Enum Jurisdiction

java.lang.Object
  extended by java.lang.Enum<Jurisdiction>
      extended by Jurisdiction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Jurisdiction>

public enum Jurisdiction
extends java.lang.Enum<Jurisdiction>

An enumeration of political jurisdictions used by Enhanced Realty


Enum Constant Summary
AUGUSTA
           
HARRISONBURG
           
ROCKINGHAM
           
STAUNTON
           
 
Method Summary
 java.lang.String getDescription()
          Get the description of this Jurisdiction
 double getTaxRate()
          Get the tax rate for this HouseType
 java.lang.String toString()
          Get a String representation of this Jurisdiction
static Jurisdiction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Jurisdiction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUGUSTA

public static final Jurisdiction AUGUSTA

HARRISONBURG

public static final Jurisdiction HARRISONBURG

ROCKINGHAM

public static final Jurisdiction ROCKINGHAM

STAUNTON

public static final Jurisdiction STAUNTON
Method Detail

values

public static Jurisdiction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Jurisdiction c : Jurisdiction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Jurisdiction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getTaxRate

public double getTaxRate()
Get the tax rate for this HouseType

Returns:
The tax rate

getDescription

public java.lang.String getDescription()
Get the description of this Jurisdiction

Returns:
The description

toString

public java.lang.String toString()
Get a String representation of this Jurisdiction

Overrides:
toString in class java.lang.Enum<Jurisdiction>
Returns:
The String representation


Enhanced Realty