|
complexType AssociationValue | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Type Heirarchy |
|---|
{http://java.sun.com/products/oss/xml/Common}ManagedEntityValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Core}CBEManagedEntityValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Core}AssociationValue |
| Abstract | false (This can be used in an instance) |
|---|---|
| Target Namespace | http://java.sun.com/products/oss/xml/CBE/Core |
| Declared Namespaces | xmlns:cbecore=http://java.sun.com/products/oss/xml/CBE/Core xmlns:co=http://java.sun.com/products/oss/xml/Common xmlns=http://www.w3.org/2001/XMLSchema |
The <CODE>AssociationValue</CODE> is the base from which all association
interfaces are derived.
<p>
Associations are represented in the CBE package as managed entities
(according to the OSS through Java definition of managed entity).
<CODE>Association</CODE> instances have their own keys.
<p>
The following attributes of an <CODE>AssociationValue</CODE> are set at creation:
<ul>
<li>EntityKey
<li>the key of object A (A end)
<li>the key of object Z (Z end)
</ul>
Note that other attributes could be defined by concrete association values
derived from this base interface. However these attributes should be specific
to this association and should not depend on the state of other objects.
<p>
The roles are captured in the definition of the association attributes
and in the corresponding {@link AssociationRule AssociationRule}.
For example in a "<CODE>SupportedBy</CODE>" type of association for one of the
objects will be defined an attribute "<CODE>supporting</CODE>" and "<CODE>supported</CODE>" for the other.
The corresponding <CODE>AssociationRule</CODE> will define the A and Z end roles as
"<CODE>supporting</CODE>" and "<CODE>supported</CODE>".
<p>
An {@link AssociationRule AssociationRule} is provided for every concrete
association type. The rule defines the constraints for this association type
(e.g. roles, cardinality, association constraints).
<p>
Associations are uniquely identified by their keys.
See {@link AssociationKey AssociationKey}
for more information.
<p>
The <CODE>AssociationValue</CODE> inherits from <CODE>ManagedEntityValue</CODE> all methods
for population, generic attribute access and serialization.
|
complexType AssociationValue | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |