|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tuple<O,P>
Interface of a tuple instance value. OCL expressions resulting in tuples yield instances of this interface.
Method Summary | |
---|---|
TupleType<O,P> |
getTupleType()
Obtains the tuple's type. |
java.lang.Object |
getValue(P part)
Queries the value of the specified tuple part. |
java.lang.Object |
getValue(java.lang.String partName)
Queries the value of the specified tuple part. |
Method Detail |
---|
TupleType<O,P> getTupleType()
java.lang.Object getValue(java.lang.String partName)
partName
- the name of the part
java.lang.Object getValue(P part)
part
- the tuple part (as an attribute)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |