Package com.nomagic.uml2
Class MagicDrawProfile.ElementsLibraryStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.ElementsLibraryStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.ElementsLibraryStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
contents
static java.lang.String
CONTENTS
private Property
indexElementIDs
static java.lang.String
INDEXELEMENTIDS
private Property
indexMetaTypes
static java.lang.String
INDEXMETATYPES
private Property
indexNamespaces
static java.lang.String
INDEXNAMESPACES
private Property
indexOwnersIDs
static java.lang.String
INDEXOWNERSIDS
private Property
indexOwnersModulesIDs
static java.lang.String
INDEXOWNERSMODULESIDS
private Property
indexShortNames
static java.lang.String
INDEXSHORTNAMES
static java.lang.String
STEREOTYPE_NAME
private Property
structure
static java.lang.String
STRUCTURE
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementsLibraryStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContents(Element element, Element value)
void
addIndexElementIDs(Element element, java.lang.String value)
void
addIndexMetaTypes(Element element, java.lang.String value)
void
addIndexNamespaces(Element element, java.lang.String value)
void
addIndexOwnersIDs(Element element, java.lang.String value)
void
addIndexOwnersModulesIDs(Element element, java.lang.String value)
void
addIndexShortNames(Element element, java.lang.String value)
protected void
clear()
void
clearContents(Element element)
void
clearIndexElementIDs(Element element)
void
clearIndexMetaTypes(Element element)
void
clearIndexNamespaces(Element element)
void
clearIndexOwnersIDs(Element element)
void
clearIndexOwnersModulesIDs(Element element)
void
clearIndexShortNames(Element element)
void
clearStructure(Element element)
java.util.List<Element>
getContents(Element element)
Property
getContentsProperty()
java.util.List<java.lang.String>
getIndexElementIDs(Element element)
Property
getIndexElementIDsProperty()
java.util.List<java.lang.String>
getIndexMetaTypes(Element element)
Property
getIndexMetaTypesProperty()
java.util.List<java.lang.String>
getIndexNamespaces(Element element)
Property
getIndexNamespacesProperty()
java.util.List<java.lang.String>
getIndexOwnersIDs(Element element)
Property
getIndexOwnersIDsProperty()
java.util.List<java.lang.String>
getIndexOwnersModulesIDs(Element element)
Property
getIndexOwnersModulesIDsProperty()
java.util.List<java.lang.String>
getIndexShortNames(Element element)
Property
getIndexShortNamesProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.MagicDrawProfile.treeStructureEnumerationEnum
getStructure(Element element)
Property
getStructureProperty()
boolean
is(Element element)
Checks if stereotype of this wrapper is applied to given element.static boolean
isInstance(Element element)
void
removeContents(Element element, Element value)
void
removeIndexElementIDs(Element element, java.lang.String value)
void
removeIndexMetaTypes(Element element, java.lang.String value)
void
removeIndexNamespaces(Element element, java.lang.String value)
void
removeIndexOwnersIDs(Element element, java.lang.String value)
void
removeIndexOwnersModulesIDs(Element element, java.lang.String value)
void
removeIndexShortNames(Element element, java.lang.String value)
void
setContents(Element element, java.util.Collection<? extends Element> value)
void
setIndexElementIDs(Element element, java.util.Collection<java.lang.String> value)
void
setIndexMetaTypes(Element element, java.util.Collection<java.lang.String> value)
void
setIndexNamespaces(Element element, java.util.Collection<java.lang.String> value)
void
setIndexOwnersIDs(Element element, java.util.Collection<java.lang.String> value)
void
setIndexOwnersModulesIDs(Element element, java.util.Collection<java.lang.String> value)
void
setIndexShortNames(Element element, java.util.Collection<java.lang.String> value)
void
setStructure(Element element, MagicDrawProfile.treeStructureEnumerationEnum value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
CONTENTS
public static final java.lang.String CONTENTS
- See Also:
- Constant Field Values
-
INDEXELEMENTIDS
public static final java.lang.String INDEXELEMENTIDS
- See Also:
- Constant Field Values
-
INDEXMETATYPES
public static final java.lang.String INDEXMETATYPES
- See Also:
- Constant Field Values
-
INDEXNAMESPACES
public static final java.lang.String INDEXNAMESPACES
- See Also:
- Constant Field Values
-
INDEXOWNERSIDS
public static final java.lang.String INDEXOWNERSIDS
- See Also:
- Constant Field Values
-
INDEXOWNERSMODULESIDS
public static final java.lang.String INDEXOWNERSMODULESIDS
- See Also:
- Constant Field Values
-
INDEXSHORTNAMES
public static final java.lang.String INDEXSHORTNAMES
- See Also:
- Constant Field Values
-
STRUCTURE
public static final java.lang.String STRUCTURE
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
contents
@CheckForNull private Property contents
-
indexElementIDs
@CheckForNull private Property indexElementIDs
-
indexMetaTypes
@CheckForNull private Property indexMetaTypes
-
indexNamespaces
@CheckForNull private Property indexNamespaces
-
indexOwnersIDs
@CheckForNull private Property indexOwnersIDs
-
indexOwnersModulesIDs
@CheckForNull private Property indexOwnersModulesIDs
-
indexShortNames
@CheckForNull private Property indexShortNames
-
structure
@CheckForNull private Property structure
-
-
Constructor Detail
-
ElementsLibraryStereotype
protected ElementsLibraryStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getContentsProperty
@CheckForNull public Property getContentsProperty()
-
getIndexElementIDsProperty
@CheckForNull public Property getIndexElementIDsProperty()
-
getIndexMetaTypesProperty
@CheckForNull public Property getIndexMetaTypesProperty()
-
getIndexNamespacesProperty
@CheckForNull public Property getIndexNamespacesProperty()
-
getIndexOwnersIDsProperty
@CheckForNull public Property getIndexOwnersIDsProperty()
-
getIndexOwnersModulesIDsProperty
@CheckForNull public Property getIndexOwnersModulesIDsProperty()
-
getIndexShortNamesProperty
@CheckForNull public Property getIndexShortNamesProperty()
-
getStructureProperty
@CheckForNull public Property getStructureProperty()
-
setContents
public void setContents(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearContents
public void clearContents(Element element)
-
setIndexElementIDs
public void setIndexElementIDs(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexElementIDs
public void clearIndexElementIDs(Element element)
-
addIndexElementIDs
public void addIndexElementIDs(Element element, java.lang.String value)
-
removeIndexElementIDs
public void removeIndexElementIDs(Element element, java.lang.String value)
-
getIndexElementIDs
public java.util.List<java.lang.String> getIndexElementIDs(Element element)
-
setIndexMetaTypes
public void setIndexMetaTypes(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexMetaTypes
public void clearIndexMetaTypes(Element element)
-
addIndexMetaTypes
public void addIndexMetaTypes(Element element, java.lang.String value)
-
removeIndexMetaTypes
public void removeIndexMetaTypes(Element element, java.lang.String value)
-
getIndexMetaTypes
public java.util.List<java.lang.String> getIndexMetaTypes(Element element)
-
setIndexNamespaces
public void setIndexNamespaces(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexNamespaces
public void clearIndexNamespaces(Element element)
-
addIndexNamespaces
public void addIndexNamespaces(Element element, java.lang.String value)
-
removeIndexNamespaces
public void removeIndexNamespaces(Element element, java.lang.String value)
-
getIndexNamespaces
public java.util.List<java.lang.String> getIndexNamespaces(Element element)
-
setIndexOwnersIDs
public void setIndexOwnersIDs(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexOwnersIDs
public void clearIndexOwnersIDs(Element element)
-
addIndexOwnersIDs
public void addIndexOwnersIDs(Element element, java.lang.String value)
-
removeIndexOwnersIDs
public void removeIndexOwnersIDs(Element element, java.lang.String value)
-
getIndexOwnersIDs
public java.util.List<java.lang.String> getIndexOwnersIDs(Element element)
-
setIndexOwnersModulesIDs
public void setIndexOwnersModulesIDs(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexOwnersModulesIDs
public void clearIndexOwnersModulesIDs(Element element)
-
addIndexOwnersModulesIDs
public void addIndexOwnersModulesIDs(Element element, java.lang.String value)
-
removeIndexOwnersModulesIDs
public void removeIndexOwnersModulesIDs(Element element, java.lang.String value)
-
getIndexOwnersModulesIDs
public java.util.List<java.lang.String> getIndexOwnersModulesIDs(Element element)
-
setIndexShortNames
public void setIndexShortNames(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearIndexShortNames
public void clearIndexShortNames(Element element)
-
addIndexShortNames
public void addIndexShortNames(Element element, java.lang.String value)
-
removeIndexShortNames
public void removeIndexShortNames(Element element, java.lang.String value)
-
getIndexShortNames
public java.util.List<java.lang.String> getIndexShortNames(Element element)
-
setStructure
public void setStructure(Element element, @CheckForNull MagicDrawProfile.treeStructureEnumerationEnum value)
-
clearStructure
public void clearStructure(Element element)
-
getStructure
@CheckForNull public MagicDrawProfile.treeStructureEnumerationEnum getStructure(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
Description copied from class:ProfileImplementation.StereotypeWrapper
Checks if stereotype of this wrapper is applied to given element.- Parameters:
element
- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-