AbstractFeatureMemberType.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
  3. // Implementation, v2.2.8-b130911.1802
  4. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  5. // Any modifications to this file will be lost upon recompilation of the source schema.
  6. // Generated on: 2016.12.07 at 02:40:39 PM CET
  7. //

  8. package nl.b3p.topnl.top100nl;

  9. import javax.xml.bind.annotation.XmlAccessType;
  10. import javax.xml.bind.annotation.XmlAccessorType;
  11. import javax.xml.bind.annotation.XmlAttribute;
  12. import javax.xml.bind.annotation.XmlSeeAlso;
  13. import javax.xml.bind.annotation.XmlType;

  14. /**
  15.  * To create a collection of GML features, a property type shall be derived by extension from
  16.  * gml:AbstractFeatureMemberType. By default, this abstract property type does not imply any
  17.  * ownership of the features in the collection. The owns attribute of gml:OwnershipAttributeGroup
  18.  * may be used on a property element instance to assert ownership of a feature in the collection. A
  19.  * collection shall not own a feature already owned by another object.
  20.  *
  21.  * <p>Java class for AbstractFeatureMemberType complex type.
  22.  *
  23.  * <p>The following schema fragment specifies the expected content contained within this class.
  24.  *
  25.  * <pre>
  26.  * &lt;complexType name="AbstractFeatureMemberType">
  27.  *   &lt;complexContent>
  28.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  29.  *       &lt;sequence>
  30.  *       &lt;/sequence>
  31.  *       &lt;attGroup ref="{http://www.opengis.net/gml/3.2}OwnershipAttributeGroup"/>
  32.  *     &lt;/restriction>
  33.  *   &lt;/complexContent>
  34.  * &lt;/complexType>
  35.  * </pre>
  36.  */
  37. @XmlAccessorType(XmlAccessType.FIELD)
  38. @XmlType(name = "AbstractFeatureMemberType")
  39. @XmlSeeAlso({FeatureMemberType.class})
  40. public abstract class AbstractFeatureMemberType {

  41.   @XmlAttribute(name = "owns")
  42.   protected Boolean owns;

  43.   /**
  44.    * Gets the value of the owns property.
  45.    *
  46.    * @return possible object is {@link Boolean }
  47.    */
  48.   public boolean isOwns() {
  49.     if (owns == null) {
  50.       return false;
  51.     } else {
  52.       return owns;
  53.     }
  54.   }

  55.   /**
  56.    * Sets the value of the owns property.
  57.    *
  58.    * @param value allowed object is {@link Boolean }
  59.    */
  60.   public void setOwns(Boolean value) {
  61.     this.owns = value;
  62.   }
  63. }