Class ReferenceType

  • All Implemented Interfaces:
    Serializable

    public class ReferenceType
    extends Object
    implements Serializable
    gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding.

    Java class for ReferenceType complex type.

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

     <complexType name="ReferenceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attGroup ref="{http://www.opengis.net/gml/3.2}OwnershipAttributeGroup"/>
           <attGroup ref="{http://www.opengis.net/gml/3.2}AssociationAttributeGroup"/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ReferenceType

        public ReferenceType()
    • Method Detail

      • isOwns

        public boolean isOwns()
        Gets the value of the owns property.
        Returns:
        possible object is Boolean
      • setOwns

        public void setOwns​(Boolean value)
        Sets the value of the owns property.
        Parameters:
        value - allowed object is Boolean
      • getNilReasons

        public List<String> getNilReasons()
        Gets the value of the nilReasons 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 nilReasons property.

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

            getNilReasons().add(newItem);
         

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