org.eclipse.xtend.typesystem.uml2.profile
Class MultipleStereotypeType

java.lang.Object
  extended by org.eclipse.xtend.typesystem.AbstractTypeImpl
      extended by org.eclipse.xtend.typesystem.uml2.profile.StereotypeType
          extended by org.eclipse.xtend.typesystem.uml2.profile.MultipleStereotypeType
All Implemented Interfaces:
Type

public final class MultipleStereotypeType
extends StereotypeType

This type is used to support assignment of multiple stereotypes to a model element. Methods from the superclass are overridden to evaluate them for each wrapped stereotype.

Since:
oAW 4.2
Author:
karsten.thoms@itemis.de - maintainance, jochen.schmich@fiducia.de - Bug#388373, aarnold - type introspection, pschonbac - maintainance, bkolb - initial

Constructor Summary
MultipleStereotypeType(TypeSystem typeSystem, java.util.List<StereotypeType> stereotypes)
           
MultipleStereotypeType(TypeSystem typeSystem, java.util.List<StereotypeType> stereotypes, Type umlType)
           
 
Method Summary
 Feature[] getContributedFeatures()
           
 java.util.List<StereotypeType> getStereotypes()
           
 java.util.Set<Type> getSuperTypes()
           
protected  boolean isCompatible(Type t)
           
 boolean isInstance(java.lang.Object o)
           
 
Methods inherited from class org.eclipse.xtend.typesystem.uml2.profile.StereotypeType
equals, equals, getStereoType, hashCode, internalIsAssignableFrom, newInstance, toString
 
Methods inherited from class org.eclipse.xtend.typesystem.AbstractTypeImpl
convert, getAllFeatures, getAllOperations, getAllProperties, getAllStaticProperties, getDocumentation, getFeature, getName, getOperation, getProperty, getStaticProperty, getTypeSystem, internalGetSuperTypes, isAbstract, isAssignableFrom
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleStereotypeType

public MultipleStereotypeType(TypeSystem typeSystem,
                              java.util.List<StereotypeType> stereotypes)

MultipleStereotypeType

public MultipleStereotypeType(TypeSystem typeSystem,
                              java.util.List<StereotypeType> stereotypes,
                              Type umlType)
Method Detail

getContributedFeatures

public Feature[] getContributedFeatures()
Overrides:
getContributedFeatures in class StereotypeType

getSuperTypes

public java.util.Set<Type> getSuperTypes()
Specified by:
getSuperTypes in interface Type
Overrides:
getSuperTypes in class StereotypeType

isInstance

public boolean isInstance(java.lang.Object o)
Specified by:
isInstance in interface Type
Overrides:
isInstance in class StereotypeType

isCompatible

protected boolean isCompatible(Type t)
Overrides:
isCompatible in class StereotypeType

getStereotypes

public java.util.List<StereotypeType> getStereotypes()