krieger.oclsolve
Interface Property

All Superinterfaces:
Declaration, java.io.Serializable

public interface Property
extends Declaration

Represents a (UML) property.


Method Summary
 void assignValue(ClassInstance instance, java.lang.Object value)
          Assigns a value to the property for the given class instance.
 java.lang.Object getValue(ClassInstance instance)
          Evaluates the property for the given class instance.
 Expression getValue(ClassTypeExpression instance)
          Evaluates the property for the given class instance.
 
Methods inherited from interface krieger.oclsolve.Declaration
addToProblem
 

Method Detail

getValue

Expression getValue(ClassTypeExpression instance)
Evaluates the property for the given class instance.


getValue

java.lang.Object getValue(ClassInstance instance)
Evaluates the property for the given class instance.


assignValue

void assignValue(ClassInstance instance,
                 java.lang.Object value)
Assigns a value to the property for the given class instance.