org.eclipse.ocl.examples.domain.elements
Interface DomainCollectionType

All Superinterfaces:
DomainElement, DomainType
All Known Subinterfaces:
BagType, CollectionType, OrderedSetType, SequenceType, SetType
All Known Implementing Classes:
AbstractCollectionType, BagTypeImpl, CollectionTypeImpl, OrderedSetTypeImpl, SequenceTypeImpl, SetTypeImpl

public interface DomainCollectionType
extends DomainType


Method Summary
 DomainType getContainerType()
           
 DomainType getElementType()
           
 boolean isOrdered()
          Return true if this type is a Collection type and has ordered elements.
 boolean isUnique()
          Return true if this type is a Collection type and has unique elements.
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getPackage, isEqualTo, isEqualToUnspecializedType, lookupImplementation
 

Method Detail

getContainerType

DomainType getContainerType()

getElementType

DomainType getElementType()

isOrdered

boolean isOrdered()
Description copied from interface: DomainType
Return true if this type is a Collection type and has ordered elements.

Specified by:
isOrdered in interface DomainType

isUnique

boolean isUnique()
Description copied from interface: DomainType
Return true if this type is a Collection type and has unique elements.

Specified by:
isUnique in interface DomainType