net.opengis.gml
Class AbstractGMLType

java.lang.Object
  extended by net.opengis.gml.AbstractGMLType
Direct Known Subclasses:
AbstractGeometryType

public abstract class AbstractGMLType
extends Object

All complexContent GML elements are directly or indirectly derived from this abstract supertype to establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry. Elements in this hierarchy may have an ID and are thus referenceable.

Java class for AbstractGMLType complex type.

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

 <complexType name="AbstractGMLType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://www.opengis.net/gml}StandardObjectProperties"/>
       </sequence>
       <attribute ref="{http://www.opengis.net/gml}id"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  StringOrRefType description
           
protected  String id
           
protected  List<MetaDataPropertyType> metaDataProperty
           
protected  List<CodeType> name
           
 
Constructor Summary
AbstractGMLType()
           
 
Method Summary
 StringOrRefType getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 List<MetaDataPropertyType> getMetaDataProperty()
          Gets the value of the metaDataProperty property.
 List<CodeType> getName()
          Multiple names may be provided.
 void setDescription(StringOrRefType value)
          Sets the value of the description property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metaDataProperty

protected List<MetaDataPropertyType> metaDataProperty

description

protected StringOrRefType description

name

protected List<CodeType> name

id

protected String id
Constructor Detail

AbstractGMLType

public AbstractGMLType()
Method Detail

getMetaDataProperty

public List<MetaDataPropertyType> getMetaDataProperty()
Gets the value of the metaDataProperty 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 metaDataProperty property.

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

    getMetaDataProperty().add(newItem);
 

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


getDescription

public StringOrRefType getDescription()
Gets the value of the description property.

Returns:
possible object is StringOrRefType

setDescription

public void setDescription(StringOrRefType value)
Sets the value of the description property.

Parameters:
value - allowed object is StringOrRefType

getName

public List<CodeType> getName()
Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority. Gets the value of the name 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 name property.

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

    getName().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2008. All Rights Reserved.