Class Constraint


  • public class Constraint
    extends Object

    Java class for constraint complex type.

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

     <complexType name="constraint">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="fieldNames" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

    • Constructor Detail

      • Constraint

        public Constraint()
    • Method Detail

      • getFieldNames

        public List<String> getFieldNames()
        Gets the value of the fieldNames 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 Jakarta XML Binding object. This is why there is not a set method for the fieldNames property.

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

            getFieldNames().add(newItem);
         

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