ProfileImplementation
. Re-generate the profile class using
"Generate Profile Class Implementation" action from the Development Tools plugin@Deprecated
@OpenApiAll
public abstract class StereotypeByProfileCache
extends com.nomagic.magicdraw.core.project.service.AbstractProjectService
Modifier and Type | Class and Description |
---|---|
protected static class |
StereotypeByProfileCache.AbstractElementWrapper<ELEMENT extends Element>
Deprecated.
|
protected static class |
StereotypeByProfileCache.AbstractEnumerationWrapper
Deprecated.
|
protected static class |
StereotypeByProfileCache.AbstractStereotypeWrapper
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
StereotypeByProfileCache(Project prj,
java.lang.String profileName)
Deprecated.
|
protected |
StereotypeByProfileCache(Project prj,
java.lang.String profileName,
java.lang.String profileURI)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache()
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.
|
DataType |
getDataType(java.lang.String name)
Deprecated.
|
Profile |
getProfile()
Deprecated.
|
Stereotype |
getStereotype(java.lang.String name)
Deprecated.
|
boolean |
isTypeOf(Element element,
Stereotype stereotype)
Deprecated.
Checks if given Element is type of given Stereotype (has assigned stereotype or some derived stereotype).
|
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).
|
protected StereotypeByProfileCache(Project prj, java.lang.String profileName)
protected StereotypeByProfileCache(Project prj, java.lang.String profileName, java.lang.String profileURI)
@CheckForNull public Stereotype getStereotype(java.lang.String name)
@CheckForNull public DataType getDataType(java.lang.String name)
@CheckForNull public Profile getProfile()
public java.util.Collection<Stereotype> getAllStereotypes()
protected java.util.Collection<Stereotype> generatedGetAllStereotypes()
protected java.util.Collection<StereotypeByProfileCache.AbstractElementWrapper> generatedGetAllElementWrappers()
public boolean isTypeOf(Element element, java.lang.String stereotypeName)
element
- elementstereotypeName
- stereotypeprotected void clearCache()
public boolean isTypeOf(Element element, @CheckForNull Stereotype stereotype)
element
- elementstereotype
- stereotype