BusinessDomainDsl
Interface Association

All Superinterfaces:
org.eclipse.emf.ecore.EObject, ModelElement, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
AssociationImpl

public interface Association
extends ModelElement

A representation of the model object 'Association'.

The following features are supported:

See Also:
BusinessDomainDslPackage.getAssociation()

Method Summary
 BusinessDomainModel getModel()
          Returns the value of the 'Model' container reference.
 BusinessClass getSource()
          Returns the value of the 'Source' reference.
 Multiplicity getSourceMultiplicity()
          Returns the value of the 'Source Multiplicity' attribute.
 java.lang.String getSourceRoleName()
          Returns the value of the 'Source Role Name' attribute.
 AbstractBusinessClass getTarget()
          Returns the value of the 'Target' reference.
 Multiplicity getTargetMultiplicity()
          Returns the value of the 'Target Multiplicity' attribute.
 java.lang.String getTargetRoleName()
          Returns the value of the 'Target Role Name' attribute.
 boolean isBidirectional()
          Returns the value of the 'Bidirectional' attribute.
 boolean isComposite()
          Returns the value of the 'Composite' attribute.
 boolean isOrdered()
          Returns the value of the 'Ordered' attribute.
 void setBidirectional(boolean value)
          Sets the value of the 'Bidirectional' attribute.
 void setComposite(boolean value)
          Sets the value of the 'Composite' attribute.
 void setModel(BusinessDomainModel value)
          Sets the value of the 'Model' container reference.
 void setOrdered(boolean value)
          Sets the value of the 'Ordered' attribute.
 void setSource(BusinessClass value)
          Sets the value of the 'Source' reference.
 void setSourceMultiplicity(Multiplicity value)
          Sets the value of the 'Source Multiplicity' attribute.
 void setSourceRoleName(java.lang.String value)
          Sets the value of the 'Source Role Name' attribute.
 void setTarget(AbstractBusinessClass value)
          Sets the value of the 'Target' reference.
 void setTargetMultiplicity(Multiplicity value)
          Sets the value of the 'Target Multiplicity' attribute.
 void setTargetRoleName(java.lang.String value)
          Sets the value of the 'Target Role Name' attribute.
 
Methods inherited from interface BusinessDomainDsl.ModelElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSource

BusinessClass getSource()
Returns the value of the 'Source' reference. It is bidirectional and its opposite is 'Associations To'.

If the meaning of the 'Source' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source' reference.
See Also:
setSource(BusinessClass), BusinessDomainDslPackage.getAssociation_Source(), BusinessClass.getAssociationsTo()

setSource

void setSource(BusinessClass value)
Sets the value of the 'Source' reference.

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()

getTarget

AbstractBusinessClass getTarget()
Returns the value of the 'Target' reference. It is bidirectional and its opposite is 'Associations From'.

If the meaning of the 'Target' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Target' reference.
See Also:
setTarget(AbstractBusinessClass), BusinessDomainDslPackage.getAssociation_Target(), AbstractBusinessClass.getAssociationsFrom()

setTarget

void setTarget(AbstractBusinessClass value)
Sets the value of the 'Target' reference.

Parameters:
value - the new value of the 'Target' reference.
See Also:
getTarget()

getSourceRoleName

java.lang.String getSourceRoleName()
Returns the value of the 'Source Role Name' attribute. The default value is "sourceRoleName".

If the meaning of the 'Source Role Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source Role Name' attribute.
See Also:
setSourceRoleName(String), BusinessDomainDslPackage.getAssociation_SourceRoleName()

setSourceRoleName

void setSourceRoleName(java.lang.String value)
Sets the value of the 'Source Role Name' attribute.

Parameters:
value - the new value of the 'Source Role Name' attribute.
See Also:
getSourceRoleName()

getSourceMultiplicity

Multiplicity getSourceMultiplicity()
Returns the value of the 'Source Multiplicity' attribute. The default value is "One". The literals are from the enumeration Multiplicity.

If the meaning of the 'Source Multiplicity' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source Multiplicity' attribute.
See Also:
Multiplicity, setSourceMultiplicity(Multiplicity), BusinessDomainDslPackage.getAssociation_SourceMultiplicity()

setSourceMultiplicity

void setSourceMultiplicity(Multiplicity value)
Sets the value of the 'Source Multiplicity' attribute.

Parameters:
value - the new value of the 'Source Multiplicity' attribute.
See Also:
Multiplicity, getSourceMultiplicity()

getTargetRoleName

java.lang.String getTargetRoleName()
Returns the value of the 'Target Role Name' attribute. The default value is "targetRoleName".

If the meaning of the 'Target Role Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Target Role Name' attribute.
See Also:
setTargetRoleName(String), BusinessDomainDslPackage.getAssociation_TargetRoleName()

setTargetRoleName

void setTargetRoleName(java.lang.String value)
Sets the value of the 'Target Role Name' attribute.

Parameters:
value - the new value of the 'Target Role Name' attribute.
See Also:
getTargetRoleName()

getTargetMultiplicity

Multiplicity getTargetMultiplicity()
Returns the value of the 'Target Multiplicity' attribute. The default value is "1". The literals are from the enumeration Multiplicity.

If the meaning of the 'Target Multiplicity' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Target Multiplicity' attribute.
See Also:
Multiplicity, setTargetMultiplicity(Multiplicity), BusinessDomainDslPackage.getAssociation_TargetMultiplicity()

setTargetMultiplicity

void setTargetMultiplicity(Multiplicity value)
Sets the value of the 'Target Multiplicity' attribute.

Parameters:
value - the new value of the 'Target Multiplicity' attribute.
See Also:
Multiplicity, getTargetMultiplicity()

isComposite

boolean isComposite()
Returns the value of the 'Composite' attribute. The default value is "false".

If the meaning of the 'Composite' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Composite' attribute.
See Also:
setComposite(boolean), BusinessDomainDslPackage.getAssociation_Composite()

setComposite

void setComposite(boolean value)
Sets the value of the 'Composite' attribute.

Parameters:
value - the new value of the 'Composite' attribute.
See Also:
isComposite()

isBidirectional

boolean isBidirectional()
Returns the value of the 'Bidirectional' attribute. The default value is "false".

If the meaning of the 'Bidirectional' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Bidirectional' attribute.
See Also:
setBidirectional(boolean), BusinessDomainDslPackage.getAssociation_Bidirectional()

setBidirectional

void setBidirectional(boolean value)
Sets the value of the 'Bidirectional' attribute.

Parameters:
value - the new value of the 'Bidirectional' attribute.
See Also:
isBidirectional()

isOrdered

boolean isOrdered()
Returns the value of the 'Ordered' attribute. The default value is "false".

If the meaning of the 'Ordered' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ordered' attribute.
See Also:
setOrdered(boolean), BusinessDomainDslPackage.getAssociation_Ordered()

setOrdered

void setOrdered(boolean value)
Sets the value of the 'Ordered' attribute.

Parameters:
value - the new value of the 'Ordered' attribute.
See Also:
isOrdered()

getModel

BusinessDomainModel getModel()
Returns the value of the 'Model' container reference. It is bidirectional and its opposite is 'Associations'.

If the meaning of the 'Model' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Model' container reference.
See Also:
setModel(BusinessDomainModel), BusinessDomainDslPackage.getAssociation_Model(), BusinessDomainModel.getAssociations()

setModel

void setModel(BusinessDomainModel value)
Sets the value of the 'Model' container reference.

Parameters:
value - the new value of the 'Model' container reference.
See Also:
getModel()


Copyright © 2010 Mod4j. All Rights Reserved.