Interface AssociationType
-
- All Superinterfaces:
EObject
,Notifier
- All Known Implementing Classes:
AssociationTypeImpl
public interface AssociationType extends EObject
A representation of the model object 'Association Type'. 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).The following features are supported:
- See Also:
Gml311Package.getAssociationType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActuateType
getActuate()
Returns the value of the 'Actuate' attribute.String
getArcrole()
Returns the value of the 'Arcrole' attribute.String
getHref()
Returns the value of the 'Href' attribute.EObject
getObject()
Returns the value of the 'Object' containment reference.FeatureMap
getObjectGroup()
Returns the value of the 'Object Group' attribute list.String
getRemoteSchema()
Returns the value of the 'Remote Schema' attribute.String
getRole()
Returns the value of the 'Role' attribute.ShowType
getShow()
Returns the value of the 'Show' attribute.String
getTitle()
Returns the value of the 'Title' attribute.TypeType
getType()
Returns the value of the 'Type' attribute.boolean
isSetActuate()
Returns whether the value of the 'Actuate
' attribute is set.boolean
isSetShow()
Returns whether the value of the 'Show
' attribute is set.boolean
isSetType()
Returns whether the value of the 'Type
' attribute is set.void
setActuate(ActuateType value)
Sets the value of the 'Actuate
' attribute.void
setArcrole(String value)
Sets the value of the 'Arcrole
' attribute.void
setHref(String value)
Sets the value of the 'Href
' attribute.void
setRemoteSchema(String value)
Sets the value of the 'Remote Schema
' attribute.void
setRole(String value)
Sets the value of the 'Role
' attribute.void
setShow(ShowType value)
Sets the value of the 'Show
' attribute.void
setTitle(String value)
Sets the value of the 'Title
' attribute.void
setType(TypeType value)
Sets the value of the 'Type
' attribute.void
unsetActuate()
Unsets the value of the 'Actuate
' attribute.void
unsetShow()
Unsets the value of the 'Show
' attribute.void
unsetType()
Unsets the value of the 'Type
' attribute.
-
-
-
Method Detail
-
getObjectGroup
FeatureMap getObjectGroup()
Returns the value of the 'Object Group' attribute list. The list contents are of typeFeatureMap.Entry
. This abstract element is the head of a substitutionGroup hierararchy which may contain either simpleContent or complexContent elements. It is used to assert the model position of "class" elements declared in other GML schemas.- Returns:
- the value of the 'Object Group' attribute list.
- See Also:
Gml311Package.getAssociationType_ObjectGroup()
-
getObject
EObject getObject()
Returns the value of the 'Object' containment reference. This abstract element is the head of a substitutionGroup hierararchy which may contain either simpleContent or complexContent elements. It is used to assert the model position of "class" elements declared in other GML schemas.- Returns:
- the value of the 'Object' containment reference.
- See Also:
Gml311Package.getAssociationType_Object()
-
getActuate
ActuateType getActuate()
Returns the value of the 'Actuate' attribute. The literals are from the enumerationActuateType
.If the meaning of the 'Actuate' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Actuate' attribute.
- See Also:
ActuateType
,isSetActuate()
,unsetActuate()
,setActuate(ActuateType)
,Gml311Package.getAssociationType_Actuate()
-
setActuate
void setActuate(ActuateType value)
Sets the value of the 'Actuate
' attribute.- Parameters:
value
- the new value of the 'Actuate' attribute.- See Also:
ActuateType
,isSetActuate()
,unsetActuate()
,getActuate()
-
unsetActuate
void unsetActuate()
Unsets the value of the 'Actuate
' attribute.- See Also:
isSetActuate()
,getActuate()
,setActuate(ActuateType)
-
isSetActuate
boolean isSetActuate()
Returns whether the value of the 'Actuate
' attribute is set.- Returns:
- whether the value of the 'Actuate' attribute is set.
- See Also:
unsetActuate()
,getActuate()
,setActuate(ActuateType)
-
getArcrole
String getArcrole()
Returns the value of the 'Arcrole' attribute.If the meaning of the 'Arcrole' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Arcrole' attribute.
- See Also:
setArcrole(String)
,Gml311Package.getAssociationType_Arcrole()
-
setArcrole
void setArcrole(String value)
Sets the value of the 'Arcrole
' attribute.- Parameters:
value
- the new value of the 'Arcrole' attribute.- See Also:
getArcrole()
-
getHref
String getHref()
Returns the value of the 'Href' attribute.If the meaning of the 'Href' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Href' attribute.
- See Also:
setHref(String)
,Gml311Package.getAssociationType_Href()
-
setHref
void setHref(String value)
Sets the value of the 'Href
' attribute.- Parameters:
value
- the new value of the 'Href' attribute.- See Also:
getHref()
-
getRemoteSchema
String getRemoteSchema()
Returns the value of the 'Remote Schema' attribute. Reference to an XML Schema fragment that specifies the content model of the propertys value. This is in conformance with the XML Schema Section 4.14 Referencing Schemas from Elsewhere.- Returns:
- the value of the 'Remote Schema' attribute.
- See Also:
setRemoteSchema(String)
,Gml311Package.getAssociationType_RemoteSchema()
-
setRemoteSchema
void setRemoteSchema(String value)
Sets the value of the 'Remote Schema
' attribute.- Parameters:
value
- the new value of the 'Remote Schema' attribute.- See Also:
getRemoteSchema()
-
getRole
String getRole()
Returns the value of the 'Role' attribute.If the meaning of the 'Role' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Role' attribute.
- See Also:
setRole(String)
,Gml311Package.getAssociationType_Role()
-
setRole
void setRole(String value)
Sets the value of the 'Role
' attribute.- Parameters:
value
- the new value of the 'Role' attribute.- See Also:
getRole()
-
getShow
ShowType getShow()
Returns the value of the 'Show' attribute. The literals are from the enumerationShowType
.If the meaning of the 'Show' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Show' attribute.
- See Also:
ShowType
,isSetShow()
,unsetShow()
,setShow(ShowType)
,Gml311Package.getAssociationType_Show()
-
setShow
void setShow(ShowType value)
Sets the value of the 'Show
' attribute.- Parameters:
value
- the new value of the 'Show' attribute.- See Also:
ShowType
,isSetShow()
,unsetShow()
,getShow()
-
unsetShow
void unsetShow()
Unsets the value of the 'Show
' attribute.- See Also:
isSetShow()
,getShow()
,setShow(ShowType)
-
isSetShow
boolean isSetShow()
Returns whether the value of the 'Show
' attribute is set.- Returns:
- whether the value of the 'Show' attribute is set.
- See Also:
unsetShow()
,getShow()
,setShow(ShowType)
-
getTitle
String getTitle()
Returns the value of the 'Title' attribute.If the meaning of the 'Title' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Title' attribute.
- See Also:
setTitle(String)
,Gml311Package.getAssociationType_Title()
-
setTitle
void setTitle(String value)
Sets the value of the 'Title
' attribute.- Parameters:
value
- the new value of the 'Title' attribute.- See Also:
getTitle()
-
getType
TypeType getType()
Returns the value of the 'Type' attribute. The default value is"simple"
. The literals are from the enumerationTypeType
.If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Type' attribute.
- See Also:
TypeType
,isSetType()
,unsetType()
,setType(TypeType)
,Gml311Package.getAssociationType_Type()
-
setType
void setType(TypeType value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
TypeType
,isSetType()
,unsetType()
,getType()
-
unsetType
void unsetType()
Unsets the value of the 'Type
' attribute.- See Also:
isSetType()
,getType()
,setType(TypeType)
-
isSetType
boolean isSetType()
Returns whether the value of the 'Type
' attribute is set.- Returns:
- whether the value of the 'Type' attribute is set.
- See Also:
unsetType()
,getType()
,setType(TypeType)
-
-