/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.gml.xml.v212;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
* An abstract feature provides a set of common properties. A concrete
* feature type must derive from this type and specify additional
* properties in an application schema. A feature may optionally
* possess an identifying attribute ('fid').
*
*
* <p>Java class for AbstractFeatureType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AbstractFeatureType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml}name" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml}boundedBy" minOccurs="0"/>
* </sequence>
* <attribute name="fid" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractFeatureType", propOrder = {
"description",
"name",
"boundedBy"
})
@XmlSeeAlso({
AbstractFeatureCollectionBaseType.class
})
public abstract class AbstractFeatureType {
private String description;
private String name;
private BoundingShapeType boundedBy;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
private String fid;
public AbstractFeatureType() {
}
public AbstractFeatureType(final String fid) {
this.fid = fid;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(final String value) {
this.description = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(final String value) {
this.name = value;
}
/**
* Gets the value of the boundedBy property.
*
* @return
* possible object is
* {@link BoundingShapeType }
*
*/
public BoundingShapeType getBoundedBy() {
return boundedBy;
}
/**
* Sets the value of the boundedBy property.
*
* @param value
* allowed object is
* {@link BoundingShapeType }
*
*/
public void setBoundedBy(final BoundingShapeType value) {
this.boundedBy = value;
}
/**
* Gets the value of the fid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFid() {
return fid;
}
/**
* Sets the value of the fid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFid(final String value) {
this.fid = value;
}
}