Class State

All Implemented Interfaces:
Serializable, Inactivatable, Coded, Versioned, ModelObjectBasic, ModelObjectComplete, StateContract

public final class State extends AbstractDataTransferObject implements StateContract
POJO implementation of StateContract that is immutable. Instances of State can be (un)marshalled to and from XML.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Method Details

    • getCode

      public String getCode()
      Specified by:
      getCode in interface Coded
    • getName

      public String getName()
      This the postal name for the State. This cannot be null or a blank string.
      Specified by:
      getName in interface StateContract
      Returns:
      postal name
    • getNameV3

      public String getNameV3()
      The name of the state according to StateCodeDataTypeV3 in UniversalCodes-V2.0.xsd
      Specified by:
      getNameV3 in interface StateContract
      Returns:
      V3 postal name
    • getCountryCode

      public String getCountryCode()
      This the postal country code for the State. This cannot be null or a blank string.
      Specified by:
      getCountryCode in interface StateContract
      Returns:
      postal country code
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface Inactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface Versioned