|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.AbstractEvaluationEnvironment.AbstractTuple<O,P>
protected abstract static class AbstractEvaluationEnvironment.AbstractTuple<O,P>
UML implementation of a tuple value.
Constructor Summary | |
---|---|
protected |
AbstractEvaluationEnvironment.AbstractTuple(TupleType<O,P> type,
java.util.Map<P,java.lang.Object> values)
Initializes me with a map of part values. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
protected abstract java.lang.String |
getName(P part)
|
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. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractEvaluationEnvironment.AbstractTuple(TupleType<O,P> type, java.util.Map<P,java.lang.Object> values)
type
- my typevalues
- my partsMethod Detail |
---|
protected abstract java.lang.String getName(P part)
public TupleType<O,P> getTupleType()
Tuple
getTupleType
in interface Tuple<O,P>
public java.lang.Object getValue(java.lang.String partName)
Tuple
getValue
in interface Tuple<O,P>
partName
- the name of the part
public java.lang.Object getValue(P part)
Tuple
getValue
in interface Tuple<O,P>
part
- the tuple part (as an attribute)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |