org.eclipse.ocl.examples.xtext.completeocl.completeOCLCST
Interface DefCS

All Superinterfaces:
ConstraintCS, ContextConstraintCS, ElementCS, org.eclipse.emf.ecore.EObject, ModelElementCS, MonikeredElementCS, Nameable, NamedElementCS, org.eclipse.emf.common.notify.Notifier, Pivotable, PivotObject, VisitableCS
All Known Implementing Classes:
DefCSImpl

public interface DefCS
extends ContextConstraintCS

A representation of the model object 'Def CS'.

The following features are supported:

See Also:
CompleteOCLCSTPackage.getDefCS()
Generated
Model

Method Summary
 java.lang.String getConstrainedName()
          Returns the value of the 'Constrained Name' attribute.
 TypedRefCS getOwnedType()
          Returns the value of the 'Owned Type' containment reference.
 org.eclipse.emf.common.util.EList<VariableCS> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 boolean isOperation()
          Returns the value of the 'Operation' attribute.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setConstrainedName(java.lang.String value)
          Sets the value of the 'Constrained Name' attribute.
 void setOperation(boolean value)
          Sets the value of the 'Operation' attribute.
 void setOwnedType(TypedRefCS value)
          Sets the value of the 'Owned Type' containment reference.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.completeocl.completeOCLCST.ContextConstraintCS
getContextDecl, setContextDecl
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ConstraintCS
getMessageSpecification, getSpecification, getStereotype, setMessageSpecification, setSpecification, setStereotype
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.NamedElementCS
getName, setName
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.MonikeredElementCS
getMoniker, hasMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ModelElementCS
getOriginalXmiId, getOwnedAnnotation, getPivot, setOriginalXmiId, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ElementCS
getDescription
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.util.VisitableCS
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Pivotable
resetPivot
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

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

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), CompleteOCLCSTPackage.getDefCS_Static()
Generated
Model

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
Generated

getConstrainedName

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

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

Returns:
the value of the 'Constrained Name' attribute.
See Also:
setConstrainedName(String), CompleteOCLCSTPackage.getDefCS_ConstrainedName()
Generated
Model

setConstrainedName

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

Parameters:
value - the new value of the 'Constrained Name' attribute.
See Also:
getConstrainedName()
Generated

isOperation

boolean isOperation()
Returns the value of the 'Operation' attribute.

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

Returns:
the value of the 'Operation' attribute.
See Also:
setOperation(boolean), CompleteOCLCSTPackage.getDefCS_Operation()
Generated
Model

setOperation

void setOperation(boolean value)
Sets the value of the 'Operation' attribute.

Parameters:
value - the new value of the 'Operation' attribute.
See Also:
isOperation()
Generated

getParameters

org.eclipse.emf.common.util.EList<VariableCS> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type VariableCS.

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

Returns:
the value of the 'Parameters' containment reference list.
See Also:
CompleteOCLCSTPackage.getDefCS_Parameters()
Generated
Model
containment="true"

getOwnedType

TypedRefCS getOwnedType()
Returns the value of the 'Owned Type' containment reference.

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

Returns:
the value of the 'Owned Type' containment reference.
See Also:
setOwnedType(TypedRefCS), CompleteOCLCSTPackage.getDefCS_OwnedType()
Generated
Model
containment="true"

setOwnedType

void setOwnedType(TypedRefCS value)
Sets the value of the 'Owned Type' containment reference.

Parameters:
value - the new value of the 'Owned Type' containment reference.
See Also:
getOwnedType()
Generated