Class ArrayAssociationType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.ArrayAssociationType
-
public class ArrayAssociationType extends Object
A base for derived types used to specify complex types containing an array of objects, by unspecified UML association - either composition or aggregation. An instance of this type contains elements representing Objects. Ideally this type would be derived by extension of AssociationType. However, this leads to a non-deterministic content model, since both the base and the extension have minOccurs="0", and is thus prohibited in XML Schema.Java class for ArrayAssociationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ArrayAssociationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.opengis.net/gml}_Object" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description ArrayAssociationType()Default no-arg constructorArrayAssociationType(List<javax.xml.bind.JAXBElement<?>> object)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<javax.xml.bind.JAXBElement<?>>getObject()Gets the value of the object property.
-
-
-
Field Detail
-
object
protected List<javax.xml.bind.JAXBElement<?>> object
-
-
Constructor Detail
-
ArrayAssociationType
public ArrayAssociationType()
Default no-arg constructor
-
ArrayAssociationType
public ArrayAssociationType(List<javax.xml.bind.JAXBElement<?>> object)
Fully-initialising value constructor
-
-
Method Detail
-
getObject
public List<javax.xml.bind.JAXBElement<?>> getObject()
Gets the value of the object 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 object property.For example, to add a new item, do as follows:
getObject().add(newItem);Objects of the following type(s) are allowed in the list
ObjectCurveAbstractGeometryArrayGMLSolidTriangulatedSurfaceOrientableSurfacePolygonBaseUnitGeometricPrimitiveGenericMetaDataDefinitionCollectionLineStringConventionalUnitDefinitionProxyMultiPointMultiSurfacePointAbstractCurveSurfaceBagDictionaryMultiLineStringDerivedUnitMultiSolidUnitDefinitionMultiGeometryAbstractSurfaceLinearRingOrientableCurvePolyhedralSurfaceMetaDataDefinitionTinAbstractRingMultiCurveAbstractSolidRingMultiPolygonGeometricAggregate
-
-