net.opengis.gml
Class AssociationType

java.lang.Object
  extended by net.opengis.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).

Classe Java pour AssociationType complex type.

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.

 <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>
 


Field Summary
protected  ActuateType actuate
           
protected  String arcrole
           
protected  String href
           
protected  Element object
           
protected  String remoteSchema
           
protected  String role
           
protected  ShowType show
           
protected  String title
           
static TypeType TYPE
           
 
Constructor Summary
AssociationType()
           
 
Method Summary
 ActuateType getActuate()
          Obtient la valeur de la propriété actuate.
 String getArcrole()
          Obtient la valeur de la propriété arcrole.
 String getHref()
          Obtient la valeur de la propriété href.
 Element getObject()
          Obtient la valeur de la propriété object.
 String getRemoteSchema()
          Obtient la valeur de la propriété remoteSchema.
 String getRole()
          Obtient la valeur de la propriété role.
 ShowType getShow()
          Obtient la valeur de la propriété show.
 String getTitle()
          Obtient la valeur de la propriété title.
 boolean isSetActuate()
           
 boolean isSetArcrole()
           
 boolean isSetHref()
           
 boolean isSetObject()
           
 boolean isSetRemoteSchema()
           
 boolean isSetRole()
           
 boolean isSetShow()
           
 boolean isSetTitle()
           
 void setActuate(ActuateType value)
          Définit la valeur de la propriété actuate.
 void setArcrole(String value)
          Définit la valeur de la propriété arcrole.
 void setHref(String value)
          Définit la valeur de la propriété href.
 void setObject(Element value)
          Définit la valeur de la propriété object.
 void setRemoteSchema(String value)
          Définit la valeur de la propriété remoteSchema.
 void setRole(String value)
          Définit la valeur de la propriété role.
 void setShow(ShowType value)
          Définit la valeur de la propriété show.
 void setTitle(String value)
          Définit la valeur de la propriété title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected Element object

remoteSchema

protected String remoteSchema

TYPE

public static final TypeType TYPE

href

protected String href

role

protected String role

arcrole

protected String arcrole

title

protected String title

show

protected ShowType show

actuate

protected ActuateType actuate
Constructor Detail

AssociationType

public AssociationType()
Method Detail

getObject

public Element getObject()
Obtient la valeur de la propriété object.

Returns:
possible object is Element

setObject

public void setObject(Element value)
Définit la valeur de la propriété object.

Parameters:
value - allowed object is Element

isSetObject

public boolean isSetObject()

getRemoteSchema

public String getRemoteSchema()
Obtient la valeur de la propriété remoteSchema.

Returns:
possible object is String

setRemoteSchema

public void setRemoteSchema(String value)
Définit la valeur de la propriété remoteSchema.

Parameters:
value - allowed object is String

isSetRemoteSchema

public boolean isSetRemoteSchema()

getHref

public String getHref()
Obtient la valeur de la propriété href.

Returns:
possible object is String

setHref

public void setHref(String value)
Définit la valeur de la propriété href.

Parameters:
value - allowed object is String

isSetHref

public boolean isSetHref()

getRole

public String getRole()
Obtient la valeur de la propriété role.

Returns:
possible object is String

setRole

public void setRole(String value)
Définit la valeur de la propriété role.

Parameters:
value - allowed object is String

isSetRole

public boolean isSetRole()

getArcrole

public String getArcrole()
Obtient la valeur de la propriété arcrole.

Returns:
possible object is String

setArcrole

public void setArcrole(String value)
Définit la valeur de la propriété arcrole.

Parameters:
value - allowed object is String

isSetArcrole

public boolean isSetArcrole()

getTitle

public String getTitle()
Obtient la valeur de la propriété title.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Définit la valeur de la propriété title.

Parameters:
value - allowed object is String

isSetTitle

public boolean isSetTitle()

getShow

public ShowType getShow()
Obtient la valeur de la propriété show.

Returns:
possible object is ShowType

setShow

public void setShow(ShowType value)
Définit la valeur de la propriété show.

Parameters:
value - allowed object is ShowType

isSetShow

public boolean isSetShow()

getActuate

public ActuateType getActuate()
Obtient la valeur de la propriété actuate.

Returns:
possible object is ActuateType

setActuate

public void setActuate(ActuateType value)
Définit la valeur de la propriété actuate.

Parameters:
value - allowed object is ActuateType

isSetActuate

public boolean isSetActuate()


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.