de.tuberlin.cs.cis.ocl.env
Class PropertyIdentifier
java.lang.Object
|
+--de.tuberlin.cs.cis.ocl.env.NameIdentifier
|
+--de.tuberlin.cs.cis.ocl.env.PropertyIdentifier
- All Implemented Interfaces:
- Identifier
- Direct Known Subclasses:
- OperationIdentifier
- public class PropertyIdentifier
- extends NameIdentifier
an OCL-property that is defined via a let-expression
on a classifier (or in a context of a classifier).
- Author:
- fchabar
Constructor Summary |
PropertyIdentifier(Scope scope,
Classifier classifier,
de.tuberlin.cs.cis.ocl.parser.node.AName name)
Constructs an identifier identifiing a property. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyIdentifier
public PropertyIdentifier(Scope scope,
Classifier classifier,
de.tuberlin.cs.cis.ocl.parser.node.AName name)
- Constructs an identifier identifiing a property.
- Parameters:
scope
- the scope of the property.classifier
- the classifier the property is defined on.name
- the name of the property.
getClassifier
public Classifier getClassifier()
- Returns the classifier the property is defined on.
- Returns:
- the classifier.
toString
public java.lang.String toString()
- Overrides:
toString
in class NameIdentifier