Class UpdateType


  • public class UpdateType
    extends Object
    Update statements may replace an entire record or only update part of a record: 1) To replace an existing record, include a new instance of the record; 2) To update selected properties of an existing record, include a set of RecordProperty elements. The scope of the update statement is determined by the Constraint element. The 'handle' is a local identifier for the action.

    Java class for UpdateType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="UpdateType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <any namespace='##other'/>
               <sequence>
                 <element ref="{http://www.opengis.net/cat/csw/2.0.2}RecordProperty" maxOccurs="unbounded"/>
                 <element ref="{http://www.opengis.net/cat/csw/2.0.2}Constraint"/>
               </sequence>
             </choice>
           </sequence>
           <attribute name="handle" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • UpdateType

        public UpdateType()
        Default no-arg constructor
    • Method Detail

      • getAny

        public Object getAny()
        Gets the value of the any property.
        Returns:
        possible object is Object
      • setAny

        public void setAny​(Object value)
        Sets the value of the any property.
        Parameters:
        value - allowed object is Object
      • getRecordProperty

        public List<RecordProperty> getRecordProperty()
        Gets the value of the recordProperty property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the recordProperty property.

        For example, to add a new item, do as follows:

            getRecordProperty().add(newItem);
         

        Objects of the following type(s) are allowed in the list RecordProperty

      • getConstraint

        public Constraint getConstraint()
        Gets the value of the constraint property.
        Returns:
        possible object is Constraint
      • setConstraint

        public void setConstraint​(Constraint value)
        Sets the value of the constraint property.
        Parameters:
        value - allowed object is Constraint
      • getHandle

        public String getHandle()
        Gets the value of the handle property.
        Returns:
        possible object is String
      • setHandle

        public void setHandle​(String value)
        Sets the value of the handle property.
        Parameters:
        value - allowed object is String