Package com.nomagic.magicdraw.uaf
Class UAF.DefinitionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uaf.UAF.DefinitionStereotype
-
- Enclosing class:
- UAF
public static class UAF.DefinitionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTUALMEASUREMENTSET
Relates the MeasurableElement to the ActualMeasurementSet that provides its ActualMeasurements.static java.lang.String
AUTHOR
The original or current person (architect) responsible for the Definition.static java.lang.String
CONFORMSTO
Relates a UAFElement to the Standard that the UAFElement is conforming to.static java.lang.String
MEASUREMENTSET
Relates the MeasurableElement to the MeasurementSet that provides its Measurements by which it can be measured.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
URI
Captures Unique identifier for the element.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefinitionStereotype(UAF profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addActualMeasurementSet(Element element, Element value)
void
addAuthor(Element element, java.lang.String value)
void
addConformsTo(Element element, Element value)
void
addMeasurementSet(Element element, Element value)
protected void
clear()
void
clearActualMeasurementSet(Element element)
void
clearAuthor(Element element)
void
clearConformsTo(Element element)
void
clearMeasurementSet(Element element)
void
clearURI(Element element)
java.util.List<Element>
getActualMeasurementSet(Element element)
Property
getActualMeasurementSetProperty()
java.util.List<java.lang.String>
getAuthor(Element element)
Property
getAuthorProperty()
java.util.List<Element>
getConformsTo(Element element)
Property
getConformsToProperty()
java.util.List<Element>
getMeasurementSet(Element element)
Property
getMeasurementSetProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getURI(Element element)
Property
getURIProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeActualMeasurementSet(Element element, Element value)
void
removeAuthor(Element element, java.lang.String value)
void
removeConformsTo(Element element, Element value)
void
removeMeasurementSet(Element element, Element value)
void
setActualMeasurementSet(Element element, java.util.Collection<? extends Element> value)
void
setAuthor(Element element, java.util.Collection<java.lang.String> value)
void
setConformsTo(Element element, java.util.Collection<? extends Element> value)
void
setMeasurementSet(Element element, java.util.Collection<? extends Element> value)
void
setURI(Element element, java.lang.String value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
The original or current person (architect) responsible for the Definition.- See Also:
- Constant Field Values
-
ACTUALMEASUREMENTSET
public static final java.lang.String ACTUALMEASUREMENTSET
Relates the MeasurableElement to the ActualMeasurementSet that provides its ActualMeasurements.- See Also:
- Constant Field Values
-
MEASUREMENTSET
public static final java.lang.String MEASUREMENTSET
Relates the MeasurableElement to the MeasurementSet that provides its Measurements by which it can be measured.- See Also:
- Constant Field Values
-
URI
public static final java.lang.String URI
Captures Unique identifier for the element.- See Also:
- Constant Field Values
-
CONFORMSTO
public static final java.lang.String CONFORMSTO
Relates a UAFElement to the Standard that the UAFElement is conforming to.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefinitionStereotype
protected DefinitionStereotype(UAF 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
-
getAuthorProperty
@CheckForNull public Property getAuthorProperty()
-
getActualMeasurementSetProperty
@CheckForNull public Property getActualMeasurementSetProperty()
-
getMeasurementSetProperty
@CheckForNull public Property getMeasurementSetProperty()
-
getURIProperty
@CheckForNull public Property getURIProperty()
-
getConformsToProperty
@CheckForNull public Property getConformsToProperty()
-
setAuthor
public void setAuthor(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearAuthor
public void clearAuthor(Element element)
-
addAuthor
public void addAuthor(Element element, java.lang.String value)
-
removeAuthor
public void removeAuthor(Element element, java.lang.String value)
-
getAuthor
public java.util.List<java.lang.String> getAuthor(Element element)
-
setActualMeasurementSet
public void setActualMeasurementSet(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearActualMeasurementSet
public void clearActualMeasurementSet(Element element)
-
setMeasurementSet
public void setMeasurementSet(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearMeasurementSet
public void clearMeasurementSet(Element element)
-
setURI
public void setURI(Element element, @CheckForNull java.lang.String value)
-
clearURI
public void clearURI(Element element)
-
getURI
@CheckForNull public java.lang.String getURI(Element element)
-
setConformsTo
public void setConformsTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearConformsTo
public void clearConformsTo(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-