org.eclipse.stp.core.sca
Interface Reference

All Superinterfaces:
AbstractReference, SCAObject
All Known Subinterfaces:
ModuleReference

public interface Reference
extends SCAObject, AbstractReference

A representation of the model object 'Reference'.

This interface is not intended to be implemented by clients.

The following features are supported:

See Also:
SCAPackage.getReference()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 FeatureMap getAny()
          Returns the value of the 'Any' attribute list.
 FeatureMap getAnyAttribute()
          Returns the value of the 'Any Attribute' attribute list.
 Interface getInterface()
          Return the Interface assigned to this reference.
 java.lang.String getMultiplicity()
          Returns the value of the 'Multiplicity' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 boolean isSetMultiplicity()
          Returns whether the value of the 'Multiplicity' attribute is set.
 void setInterface(Interface newInterface)
           
 void setMultiplicity(java.lang.String value)
          Sets the value of the 'Multiplicity' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void unsetMultiplicity()
          Unsets the value of the 'Multiplicity' attribute.
 
Methods inherited from interface org.eclipse.stp.core.sca.AbstractReference
matches
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getAny

FeatureMap getAny()
Returns the value of the 'Any' attribute list. The list contents are of type org.eclipse.emf.ecore.util.FeatureMap.Entry.

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

Returns:
the value of the 'Any' attribute list.
See Also:
SCAPackage.getReference_Any()

getMultiplicity

java.lang.String getMultiplicity()
Returns the value of the 'Multiplicity' attribute. The default value is "1..1".

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

Returns:
the value of the 'Multiplicity' attribute.
See Also:
isSetMultiplicity(), unsetMultiplicity(), setMultiplicity(String), SCAPackage.getReference_Multiplicity()

setMultiplicity

void setMultiplicity(java.lang.String value)
Sets the value of the 'Multiplicity' attribute.

Parameters:
value - the new value of the 'Multiplicity' attribute.
See Also:
isSetMultiplicity(), unsetMultiplicity(), getMultiplicity()

unsetMultiplicity

void unsetMultiplicity()
Unsets the value of the 'Multiplicity' attribute.

See Also:
isSetMultiplicity(), getMultiplicity(), setMultiplicity(String)

isSetMultiplicity

boolean isSetMultiplicity()
Returns whether the value of the 'Multiplicity' attribute is set.

Returns:
whether the value of the 'Multiplicity' attribute is set.
See Also:
unsetMultiplicity(), getMultiplicity(), setMultiplicity(String)

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Specified by:
getName in interface SCAObject
Returns:
the value of the 'Name' attribute.
See Also:
setName(String), SCAPackage.getReference_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Specified by:
setName in interface SCAObject
Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getAnyAttribute

FeatureMap getAnyAttribute()
Returns the value of the 'Any Attribute' attribute list. The list contents are of type org.eclipse.emf.ecore.util.FeatureMap.Entry.

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

Returns:
the value of the 'Any Attribute' attribute list.
See Also:
SCAPackage.getReference_AnyAttribute()

getInterface

Interface getInterface()
Description copied from interface: AbstractReference
Return the Interface assigned to this reference.

Specified by:
getInterface in interface AbstractReference
Returns:
Interface

setInterface

void setInterface(Interface newInterface)
Parameters:
newInterface - The interface associated with this Reference