Package nl.b3p.csw.jaxb.gml
Class BagType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractGMLType
-
- nl.b3p.csw.jaxb.gml.BagType
-
public class BagType extends AbstractGMLType
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.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Member>memberprotected Membersmembers-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
description, id, metaDataProperty, name
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Member>getMember()Gets the value of the member property.MembersgetMembers()Gets the value of the members property.voidsetMembers(Members value)Sets the value of the members property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
-
-
-
-
Constructor Detail
-
BagType
public BagType()
Default no-arg constructor
-
BagType
public BagType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, List<Member> member, Members members)
Fully-initialising value constructor
-
-
Method Detail
-
getMember
public List<Member> getMember()
Gets the value of the member 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
setmethod 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
-
getMembers
public Members getMembers()
Gets the value of the members property.- Returns:
- possible object is
Members
-
-