Package nl.b3p.csw.jaxb.gml
Class AssociationType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AssociationType
-
public class AssociationType extends Object
A pattern or base for derived types used to specify complex types corresponding to an unspecified UML association - either composition or aggregation. Restricts the cardinality of Objects contained in the association to a maximum of one. An instance of this type can contain an element representing an Object, or serve as a pointer to a remote Object. Descendents of this type can be restricted in an application schema to * allow only specified classes as valid participants in the aggregation * allow only association by reference (i.e. empty the content model) or by value (i.e. remove the xlinks). When used for association by reference, the value of the gml:remoteSchema attribute can be used to locate a schema fragment that constrains the target instance. In many cases it is desirable to impose the constraint prohibiting the occurence of both reference and value in the same instance, as that would be ambiguous. This is accomplished by adding a directive in the annotation element of the element declaration. This directive can be in the form of normative prose, or can use a Schematron pattern to automatically constrain co-occurrence - see the declaration for _strictAssociation below. If co-occurence is not prohibited, then both a link and content may be present. If this occurs in an instance, then the rule for interpretation is that the instance found by traversing the href provides the normative value of the property, and should be used when possible. The value(s) included as content may be used if the remote instance cannot be resolved. This may be considered to be a "cached" version of the value(s).Java class for AssociationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AssociationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://www.opengis.net/gml}_Object"/> </sequence> <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AssociationType()Default no-arg constructorAssociationType(javax.xml.bind.JAXBElement<?> object, String remoteSchema, String type, String href, String role, String arcrole, String title, String show, String actuate)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActuate()Gets the value of the actuate property.StringgetArcrole()Gets the value of the arcrole property.StringgetHref()Gets the value of the href property.javax.xml.bind.JAXBElement<?>getObject()Gets the value of the object property.StringgetRemoteSchema()Gets the value of the remoteSchema property.StringgetRole()Gets the value of the role property.StringgetShow()Gets the value of the show property.StringgetTitle()Gets the value of the title property.StringgetType()Gets the value of the type property.voidsetActuate(String value)Sets the value of the actuate property.voidsetArcrole(String value)Sets the value of the arcrole property.voidsetHref(String value)Sets the value of the href property.voidsetObject(javax.xml.bind.JAXBElement<?> value)Sets the value of the object property.voidsetRemoteSchema(String value)Sets the value of the remoteSchema property.voidsetRole(String value)Sets the value of the role property.voidsetShow(String value)Sets the value of the show property.voidsetTitle(String value)Sets the value of the title property.voidsetType(String value)Sets the value of the type property.
-
-
-
Field Detail
-
object
protected javax.xml.bind.JAXBElement<?> object
-
remoteSchema
protected String remoteSchema
-
type
protected String type
-
href
protected String href
-
role
protected String role
-
arcrole
protected String arcrole
-
title
protected String title
-
show
protected String show
-
actuate
protected String actuate
-
-
Method Detail
-
getObject
public javax.xml.bind.JAXBElement<?> getObject()
Gets the value of the object property.- Returns:
- possible object is
ObjectCurveAbstractGeometryArrayGMLSolidTriangulatedSurfaceOrientableSurfacePolygonBaseUnitGeometricPrimitiveGenericMetaDataDefinitionCollectionLineStringConventionalUnitDefinitionProxyMultiPointMultiSurfacePointAbstractCurveSurfaceBagDictionaryMultiLineStringDerivedUnitMultiSolidUnitDefinitionMultiGeometryAbstractSurfaceLinearRingOrientableCurvePolyhedralSurfaceMetaDataDefinitionTinAbstractRingMultiCurveAbstractSolidRingMultiPolygonGeometricAggregate
-
setObject
public void setObject(javax.xml.bind.JAXBElement<?> value)
Sets the value of the object property.- Parameters:
value- allowed object isObjectCurveAbstractGeometryArrayGMLSolidTriangulatedSurfaceOrientableSurfacePolygonBaseUnitGeometricPrimitiveGenericMetaDataDefinitionCollectionLineStringConventionalUnitDefinitionProxyMultiPointMultiSurfacePointAbstractCurveSurfaceBagDictionaryMultiLineStringDerivedUnitMultiSolidUnitDefinitionMultiGeometryAbstractSurfaceLinearRingOrientableCurvePolyhedralSurfaceMetaDataDefinitionTinAbstractRingMultiCurveAbstractSolidRingMultiPolygonGeometricAggregate
-
getRemoteSchema
public String getRemoteSchema()
Gets the value of the remoteSchema property.- Returns:
- possible object is
String
-
setRemoteSchema
public void setRemoteSchema(String value)
Sets the value of the remoteSchema property.- Parameters:
value- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getHref
public String getHref()
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
public void setHref(String value)
Sets the value of the href property.- Parameters:
value- allowed object isString
-
getRole
public String getRole()
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
public void setRole(String value)
Sets the value of the role property.- Parameters:
value- allowed object isString
-
getArcrole
public String getArcrole()
Gets the value of the arcrole property.- Returns:
- possible object is
String
-
setArcrole
public void setArcrole(String value)
Sets the value of the arcrole property.- Parameters:
value- allowed object isString
-
getTitle
public String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getShow
public String getShow()
Gets the value of the show property.- Returns:
- possible object is
String
-
setShow
public void setShow(String value)
Sets the value of the show property.- Parameters:
value- allowed object isString
-
getActuate
public String getActuate()
Gets the value of the actuate property.- Returns:
- possible object is
String
-
-