org.eclipse.mofscript.MOFScriptModel
Interface Advice

All Superinterfaces:
org.eclipse.emf.ecore.EObject, MOFScriptObject, MOFScriptStatementOwner, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
AdviceImpl

public interface Advice
extends MOFScriptStatementOwner

A representation of the model object 'Advice'.

The following features are supported:

See Also:
MOFScriptModelPackage.getAdvice()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getCode()
          Returns the value of the 'Code' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 AdviceOperator getOperator()
          Returns the value of the 'Operator' attribute.
 PointCut getPointcut()
          Returns the value of the 'Pointcut' reference
 java.lang.String getPointCutRef()
          Returns the value of the 'Point Cut Ref' attribute.
 void setCode(java.lang.String value)
          Sets the value of the 'Code' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setOperator(AdviceOperator value)
          Sets the value of the 'Operator' attribute
 void setPointcut(PointCut value)
          Sets the value of the 'Pointcut' reference
 void setPointCutRef(java.lang.String value)
          Sets the value of the 'Point Cut Ref' attribute
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptStatementOwner
getBlocks, getStatements, getVariables
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
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
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute. The default value is "".

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), MOFScriptModelPackage.getAdvice_Name()

setName

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

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getCode

java.lang.String getCode()
Returns the value of the 'Code' attribute. The default value is "".

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

Returns:
the value of the 'Code' attribute.
See Also:
setCode(String), MOFScriptModelPackage.getAdvice_Code()

setCode

void setCode(java.lang.String value)
Sets the value of the 'Code' attribute.

Parameters:
value - the new value of the 'Code' attribute.
See Also:
getCode()

getOperator

AdviceOperator getOperator()
Returns the value of the 'Operator' attribute. The literals are from the enumeration AdviceOperator.

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

Returns:
the value of the 'Operator' attribute.
See Also:
AdviceOperator, setOperator(AdviceOperator), MOFScriptModelPackage.getAdvice_Operator()

setOperator

void setOperator(AdviceOperator value)
Sets the value of the 'Operator' attribute.

Parameters:
value - the new value of the 'Operator' attribute.
See Also:
AdviceOperator, getOperator()

getPointcut

PointCut getPointcut()
Returns the value of the 'Pointcut' reference.

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

Returns:
the value of the 'Pointcut' reference.
See Also:
setPointcut(PointCut), MOFScriptModelPackage.getAdvice_Pointcut()

setPointcut

void setPointcut(PointCut value)
Sets the value of the 'Pointcut' reference.

Parameters:
value - the new value of the 'Pointcut' reference.
See Also:
getPointcut()

getPointCutRef

java.lang.String getPointCutRef()
Returns the value of the 'Point Cut Ref' attribute. The default value is "".

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

Returns:
the value of the 'Point Cut Ref' attribute.
See Also:
setPointCutRef(String), MOFScriptModelPackage.getAdvice_PointCutRef()

setPointCutRef

void setPointCutRef(java.lang.String value)
Sets the value of the 'Point Cut Ref' attribute.

Parameters:
value - the new value of the 'Point Cut Ref' attribute.
See Also:
getPointCutRef()