public static final class StereotypesHelper.StereotypesHelperCache
extends com.nomagic.magicdraw.utils.CompositeProjectCache
Modifier and Type | Method and Description |
---|---|
void |
disableModelChangeValidator() |
void |
enableModelChangeValidator() |
static StereotypesHelper.StereotypesHelperCache |
getInstance(Project prj) |
(package private) Property |
getPropertyByName(Stereotype element,
java.lang.String propertyName)
Returns property of classifier by name
|
(package private) java.util.Set<Stereotype> |
getSettableStereotypes(java.lang.String elementType,
boolean includeSuperTypes) |
boolean |
isEnabledValidation() |
(package private) void |
setSettableStereotypes(java.lang.String elementType,
boolean includeSuperTypes,
java.util.Set<Stereotype> stereotypes) |
createCache, disableCahe, enableCache, invalidateCache
addValidator, disposeService, removeValidator
public static StereotypesHelper.StereotypesHelperCache getInstance(Project prj)
public void disableModelChangeValidator()
public boolean isEnabledValidation()
public void enableModelChangeValidator()
@CheckForNull java.util.Set<Stereotype> getSettableStereotypes(java.lang.String elementType, boolean includeSuperTypes)
void setSettableStereotypes(java.lang.String elementType, boolean includeSuperTypes, java.util.Set<Stereotype> stereotypes)
@CheckForNull Property getPropertyByName(Stereotype element, java.lang.String propertyName)
element
- element to get property frompropertyName
- name of the property