|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.opengis.gml.AbstractGMLType
net.opengis.gml.BagType
public class BagType
A non-abstract generic collection type that can be used as a document element for a collection of any GML types - Geometries, Topologies, Features ... FeatureCollections may only contain Features. GeometryCollections may only contain Geometrys. Bags are less constrained they must contain objects that are substitutable for gml:_Object. This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc. The content model would ideally be member 0..* members 0..1 member 0..* for maximum flexibility in building a collection from both homogeneous and distinct components: included "member" elements each contain a single Object an included "members" element contains a set of Objects However, this is non-deterministic, thus prohibited by XSD.
Classe Java pour BagType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="BagType">
<complexContent>
<extension base="{http://www.opengis.net/gml}AbstractGMLType">
<sequence>
<element ref="{http://www.opengis.net/gml}member" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.opengis.net/gml}members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<AssociationType> |
member
|
protected ArrayAssociationType |
members
|
| Fields inherited from class net.opengis.gml.AbstractGMLType |
|---|
description, id, metaDataProperty, name |
| Constructor Summary | |
|---|---|
BagType()
|
|
| Method Summary | |
|---|---|
List<AssociationType> |
getMember()
Gets the value of the member property. |
ArrayAssociationType |
getMembers()
Obtient la valeur de la propriété members. |
boolean |
isSetMember()
|
boolean |
isSetMembers()
|
void |
setMembers(ArrayAssociationType value)
Définit la valeur de la propriété members. |
void |
unsetMember()
|
| Methods inherited from class net.opengis.gml.AbstractGMLType |
|---|
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, unsetMetaDataProperty, unsetName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<AssociationType> member
protected ArrayAssociationType members
| Constructor Detail |
|---|
public BagType()
| Method Detail |
|---|
public List<AssociationType> getMember()
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 member property.
For example, to add a new item, do as follows:
getMember().add(newItem);
Objects of the following type(s) are allowed in the list
AssociationType
public boolean isSetMember()
public void unsetMember()
public ArrayAssociationType getMembers()
ArrayAssociationTypepublic void setMembers(ArrayAssociationType value)
value - allowed object is
ArrayAssociationTypepublic boolean isSetMembers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||