|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType
org.eclipse.m2m.atl.adt.ui.text.atl.types.CollectionType
public class CollectionType
The ATL Collection type.
| Field Summary | |
|---|---|
protected OclAnyType |
parameterType
The parameter of the collection. |
| Fields inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
|---|
oclType |
| Constructor Summary | |
|---|---|
CollectionType(OclAnyType parameter)
Constructor. |
|
| Method Summary | |
|---|---|
protected static java.lang.String |
computeName(java.lang.String collectionType,
OclAnyType parameterType)
Computes the name of the collection with the given parameter type. |
java.lang.String |
getCollectionType()
Returns the collection kind. |
static CollectionType |
getInstance()
Returns the default Collection type singleton. |
OclAnyType |
getParameterType()
Returns the collection parameter type. |
OclAnyType[] |
getSupertypes()
|
protected java.util.List<Operation> |
getTypeOperations()
Return the local type operations. |
| Methods inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
|---|
create, equals, getFeatures, getOclType, getOperations, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected OclAnyType parameterType
| Constructor Detail |
|---|
public CollectionType(OclAnyType parameter)
parameter - the Collection parameter type| Method Detail |
|---|
public OclAnyType[] getSupertypes()
getSupertypes in class OclAnyTypeOclAnyType.getSupertypes()public java.lang.String getCollectionType()
public OclAnyType getParameterType()
protected java.util.List<Operation> getTypeOperations()
getTypeOperations in class OclAnyTypeOclAnyType.getTypeOperations()
protected static java.lang.String computeName(java.lang.String collectionType,
OclAnyType parameterType)
collectionType - the collection type (Sequence, Bag, Set, OrderedSet)parameterType - the parameter type
public static CollectionType getInstance()
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||