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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thememberelement.static final TLcdDataPropertyData property that maps to thememberselement.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thememberelement.Returns the value of the property that maps to thememberselement.voidsetMembers(TLcdGML31ArrayAssociation aValue) Sets the value of the property that maps to thememberselement.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setIdMethods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
Field Details
-
MEMBER_PROPERTY
Data property that maps to thememberelement. The possible values for this property are instances ofList<TLcdGML31Association>. -
MEMBERS_PROPERTY
Data property that maps to thememberselement. 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 thememberelement.- Returns:
- the value of the
MEMBER_PROPERTYproperty.
-
getMembers
Returns the value of the property that maps to thememberselement.- Returns:
- the value of the
MEMBERS_PROPERTYproperty.
-
setMembers
Sets the value of the property that maps to thememberselement.- Parameters:
aValue- the value to set for theMEMBERS_PROPERTYproperty.
-