|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.types.operations.TupleTypeOperations
public class TupleTypeOperations
A static utility class that provides operations related to 'Tuple Type' model objects.
The following operations are supported:
| Constructor Summary | |
|---|---|
protected |
TupleTypeOperations()
|
| Method Summary | ||
|---|---|---|
static
|
checkFeaturesOnlyProperties(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
feature->forAll (f | f.oclIsTypeOf(Property)) |
|
static
|
checkPartNamesUnique(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
true |
|
static
|
checkTupleTypeName(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
name = 'Tuple('.concat ( Sequence{1..allProperties()->size()}->iterate (pn; s: String = '' | let p: Property = allProperties()->at (pn) in ( s.concat ( (if (pn>1) then ',' else '' endif) .concat (p.name).concat (': ') .concat (p.type.name) ) ) ) ).concat (')') |
|
static
|
oclProperties(TupleType<O,P> tupleType)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TupleTypeOperations()
| Method Detail |
|---|
public static <O,P> boolean checkTupleTypeName(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
tupleType - The receiving 'Tuple Type' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public static <O,P> boolean checkPartNamesUnique(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
tupleType - The receiving 'Tuple Type' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public static <O,P> boolean checkFeaturesOnlyProperties(TupleType<O,P> tupleType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
tupleType - The receiving 'Tuple Type' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public static <O,P> EList<P> oclProperties(TupleType<O,P> tupleType)
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||