public class BagType extends AbstractGMLType
Java class for BagType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Member> |
member |
protected Members |
members |
description, id, metaDataProperty, name| Constructor and Description |
|---|
BagType()
Default no-arg constructor
|
BagType(List<MetaDataProperty> metaDataProperty,
Description description,
List<Name> name,
String id,
List<Member> member,
Members members)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Member> |
getMember()
Gets the value of the member property.
|
Members |
getMembers()
Gets the value of the members property.
|
void |
setMembers(Members value)
Sets the value of the members property.
|
getDescription, getId, getMetaDataProperty, getName, setDescription, setIdpublic BagType()
public BagType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, List<Member> member, Members members)
public List<Member> 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
Member
public Members getMembers()
MembersCopyright © 2016. All rights reserved.