Enum Class EntityType

java.lang.Object
java.lang.Enum<EntityType>
org.opengis.cite.sta10.util.EntityType
All Implemented Interfaces:
Serializable, Comparable<EntityType>, Constable

public enum EntityType extends Enum<EntityType>
List of entity types in SensorThings API.
  • Enum Constant Details

    • THING

      public static final EntityType THING
    • LOCATION

      public static final EntityType LOCATION
    • SENSOR

      public static final EntityType SENSOR
    • OBSERVED_PROPERTY

      public static final EntityType OBSERVED_PROPERTY
    • OBSERVATION

      public static final EntityType OBSERVATION
    • DATASTREAM

      public static final EntityType DATASTREAM
    • FEATURE_OF_INTEREST

      public static final EntityType FEATURE_OF_INTEREST
    • HISTORICAL_LOCATION

      public static final EntityType HISTORICAL_LOCATION
  • Field Details

    • singular

      public final String singular
    • plural

      public final String plural
  • Method Details

    • values

      public static EntityType[] 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

      public static EntityType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getForRelation

      public static EntityType getForRelation(String relation)

      getForRelation.

      Parameters:
      relation - a String object
      Returns:
      a EntityType object
    • isPlural

      public static boolean isPlural(String relation)

      isPlural.

      Parameters:
      relation - a String object
      Returns:
      a boolean
    • getRootEntitySet

      public String getRootEntitySet()

      getRootEntitySet.

      Returns:
      a String object
    • getRelations

      public List<String> getRelations()

      Getter for the field relations.

      Returns:
      a List object
    • getProperties

      public List<String> getProperties()

      Getter for the field properties.

      Returns:
      a List object