Enum PropertyTypeEnum

java.lang.Object
java.lang.Enum<PropertyTypeEnum>
cdm.base.staticdata.asset.common.PropertyTypeEnum
All Implemented Interfaces:
Serializable, Comparable<PropertyTypeEnum>

@RosettaEnum("PropertyTypeEnum") public enum PropertyTypeEnum extends Enum<PropertyTypeEnum>
Specifies different types of property.
Version:
7.0.0-dev.105
  • Enum Constant Details

    • COMMERCIAL

      @RosettaEnumValue("Commercial") public static final PropertyTypeEnum COMMERCIAL
      Commercial property.
    • RESIDENTIAL

      @RosettaEnumValue("Residential") public static final PropertyTypeEnum RESIDENTIAL
      Residential property.
  • Method Details

    • values

      public static PropertyTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PropertyTypeEnum valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static PropertyTypeEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PropertyTypeEnum>
    • toDisplayString

      public String toDisplayString()