Class Context

    • Method Detail

      • isLocation

        public boolean isLocation()
        Is this variant instance of kind location?
      • location

        public GeoLocation location()
        Get the location variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the location kind.
      • isCategory

        public boolean isCategory()
        Is this variant instance of kind category?
      • category

        public java.lang.String category()
        Get the category variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the category kind.