Class TemporalOperand

  • All Implemented Interfaces:
    Serializable, Comparable<TemporalOperand>, ControlledVocabulary

    public final class TemporalOperand
    extends CodeList<TemporalOperand>
    Enumeration of the different TemporalOperand types.
     <complexType name="TemporalOperandsType"<
       <complexContent<
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"<
           <sequence<
             <element name="TemporalOperand" maxOccurs="unbounded"<
               <complexType<
                 <complexContent<
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"<
                     <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" /<
                   </restriction<
                 </complexContent<
               </complexType<
             </element<
           </sequence<
         </restriction<
       </complexContent<
     </complexType<
     
    Since:
    GeoAPI 3.1
    See Also:
    Serialized Form
    • Method Detail

      • values

        public static TemporalOperand[] values()
        Returns the list of TemporalOperands.
        Returns:
        the list of codes declared in the current JVM.
      • valueOf

        public static TemporalOperand valueOf​(String code)
        Returns the date type that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.
        Parameters:
        code - the name of the code to fetch or to create.
        Returns:
        a code matching the given name.