|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TupleValue
Interface of a tuple instance value. OCL expressions resulting in tuples yield instances of this interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
INVALID_NAME |
| Method Summary | |
|---|---|
TupleTypeId |
getTypeId()
Obtains the tuple's type. |
java.lang.Object |
getValue(int index)
Queries the value of the specified tuple part at 0-based index corresponding to the position of the required part-name in the alphabetically sorted list of all part-names. |
java.lang.Object |
getValue(TuplePartId partId)
Queries the value of the specified tuple part. |
| Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
asBagValue, asCollectionValue, asDouble, asEcoreObject, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString |
| Method Detail |
|---|
@NonNull TupleTypeId getTypeId()
getTypeId in interface Value
@Nullable
java.lang.Object getValue(@NonNull
TuplePartId partId)
part - the tuple part (as an attribute)
InvalidValueException@Nullable java.lang.Object getValue(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||