Package com.nomagic.uml2.ext.jmi.helpers
Class StereotypeByProfileCache
- java.lang.Object
-
- com.nomagic.magicdraw.core.project.service.AbstractProjectService
-
- com.nomagic.uml2.ext.jmi.helpers.StereotypeByProfileCache
-
- All Implemented Interfaces:
com.nomagic.uml2.project.service.DisposableService
@Deprecated @OpenApiAll public abstract class StereotypeByProfileCache extends com.nomagic.magicdraw.core.project.service.AbstractProjectServiceDeprecated.Profile should extendProfileImplementation. Re-generate the profile class using "Generate Profile Class Implementation" action from the Development Tools plugin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classStereotypeByProfileCache.AbstractElementWrapper<ELEMENT extends Element>Deprecated.protected static classStereotypeByProfileCache.AbstractEnumerationWrapperDeprecated.protected static classStereotypeByProfileCache.AbstractStereotypeWrapperDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedStereotypeByProfileCache(Project prj, java.lang.String profileName)Deprecated.protectedStereotypeByProfileCache(Project prj, java.lang.String profileName, java.lang.String profileURI)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidclearCache()Deprecated.protected java.util.Collection<StereotypeByProfileCache.AbstractElementWrapper>generatedGetAllElementWrappers()Deprecated.Generated method for getting all stereotype wrappers contained within this profile.protected java.util.Collection<Stereotype>generatedGetAllStereotypes()Deprecated.Generated method for getting all stereotypes contained within this profile.java.util.Collection<Stereotype>getAllStereotypes()Deprecated.Gets all stereotypes contained within this profile.DataTypegetDataType(java.lang.String name)Deprecated.ProfilegetProfile()Deprecated.StereotypegetStereotype(java.lang.String name)Deprecated.booleanisTypeOf(Element element, Stereotype stereotype)Deprecated.Checks if given Element is type of given Stereotype (has assigned stereotype or some derived stereotype).booleanisTypeOf(Element element, java.lang.String stereotypeName)Deprecated.Checks if given Element is type of given Stereotype (has assigned stereotype or some derived stereotype).
-
-
-
Method Detail
-
getStereotype
@CheckForNull public Stereotype getStereotype(java.lang.String name)
Deprecated.
-
getDataType
@CheckForNull public DataType getDataType(java.lang.String name)
Deprecated.
-
getProfile
@CheckForNull public Profile getProfile()
Deprecated.
-
getAllStereotypes
public java.util.Collection<Stereotype> getAllStereotypes()
Deprecated.Gets all stereotypes contained within this profile.- Returns:
- unmodifiable collection containing all stereotypes within this profile.
-
generatedGetAllStereotypes
protected java.util.Collection<Stereotype> generatedGetAllStereotypes()
Deprecated.Generated method for getting all stereotypes contained within this profile.- Returns:
- gets all stereotypes contained within this profile.
-
generatedGetAllElementWrappers
protected java.util.Collection<StereotypeByProfileCache.AbstractElementWrapper> generatedGetAllElementWrappers()
Deprecated.Generated method for getting all stereotype wrappers contained within this profile.- Returns:
- gets all stereotype wrappers contained within this profile.
-
isTypeOf
public boolean isTypeOf(Element element, java.lang.String stereotypeName)
Deprecated.Checks if given Element is type of given Stereotype (has assigned stereotype or some derived stereotype). Caches value of this check- Parameters:
element- elementstereotypeName- stereotype- Returns:
- true if element has assigned given stereotype
-
clearCache
protected void clearCache()
Deprecated.
-
isTypeOf
public boolean isTypeOf(Element element, @CheckForNull Stereotype stereotype)
Deprecated.Checks if given Element is type of given Stereotype (has assigned stereotype or some derived stereotype). Caches value of this check- Parameters:
element- elementstereotype- stereotype- Returns:
- true if element has assigned given stereotype
-
-