Package com.luciad.format.gml31.model
Class TLcdGML31Bag
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.datamodel.TLcdFeaturedDataObject
com.luciad.format.gml31.model.TLcdGML31AbstractGML
com.luciad.format.gml31.model.TLcdGML31Bag
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,ILcdFeatured
,ILcdSelfDescribedFeatured
,Serializable
,Cloneable
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.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to themember
element.static final TLcdDataProperty
Data property that maps to themembers
element.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to themember
element.Returns the value of the property that maps to themembers
element.void
setMembers
(TLcdGML31ArrayAssociation aValue) Sets the value of the property that maps to themembers
element.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
Methods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
Field Details
-
MEMBER_PROPERTY
Data property that maps to themember
element. The possible values for this property are instances ofList<TLcdGML31Association>
. -
MEMBERS_PROPERTY
Data property that maps to themembers
element. The possible values for this property are instances ofTLcdGML31ArrayAssociation
.
-
-
Constructor Details
-
TLcdGML31Bag
public TLcdGML31Bag() -
TLcdGML31Bag
-
-
Method Details
-
getMember
Returns the value of the property that maps to themember
element.- Returns:
- the value of the
MEMBER_PROPERTY
property.
-
getMembers
Returns the value of the property that maps to themembers
element.- Returns:
- the value of the
MEMBERS_PROPERTY
property.
-
setMembers
Sets the value of the property that maps to themembers
element.- Parameters:
aValue
- the value to set for theMEMBERS_PROPERTY
property.
-