Package com.nomagic.uml2
Class MagicDrawProfile.DiagramTableMapToDataSourceStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.DiagramTableMapToDataSourceStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.DiagramTableMapToDataSourceStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
deleteRowOption
static java.lang.String
DELETEROWOPTION
static java.lang.String
DELIMITER
static java.lang.String
FIRSTCELL
static java.lang.String
FIRSTROWREPRESENTSHEADING
static java.lang.String
IDENTIFICATIONPROPERTY
static java.lang.String
LASTMODIFIED
static java.lang.String
MAPPING
static java.lang.String
MAPPINGCOLUMNS
static java.lang.String
SHEET
static java.lang.String
SHEETS
static java.lang.String
SOURCEIDENTIFICATIONPROPERTY
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TARGETIDENTIFICATIONPROPERTY
static java.lang.String
URL
-
Constructor Summary
Constructors Modifier Constructor Description protected
DiagramTableMapToDataSourceStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapping(Element element, java.lang.String value)
void
addMappingColumns(Element element, java.lang.String value)
void
addSheets(Element element, java.lang.String value)
protected void
clear()
void
clearDeleteRowOption(Element element)
void
clearDelimiter(Element element)
void
clearFirstCell(Element element)
void
clearFirstRowRepresentsHeading(Element element)
void
clearIdentificationProperty(Element element)
void
clearLastModified(Element element)
void
clearMapping(Element element)
void
clearMappingColumns(Element element)
void
clearSheet(Element element)
void
clearSheets(Element element)
void
clearSourceIdentificationProperty(Element element)
void
clearTargetIdentificationProperty(Element element)
void
clearUrl(Element element)
java.lang.String
getDeleteRowOption(Element element)
Property
getDeleteRowOptionProperty()
java.lang.String
getDelimiter(Element element)
Property
getDelimiterProperty()
java.lang.String
getFirstCell(Element element)
Property
getFirstCellProperty()
Property
getFirstRowRepresentsHeadingProperty()
java.lang.String
getIdentificationProperty(Element element)
Property
getIdentificationPropertyProperty()
java.lang.String
getLastModified(Element element)
Property
getLastModifiedProperty()
java.util.List<java.lang.String>
getMapping(Element element)
java.util.List<java.lang.String>
getMappingColumns(Element element)
Property
getMappingColumnsProperty()
Property
getMappingProperty()
java.lang.String
getSheet(Element element)
Property
getSheetProperty()
java.util.List<java.lang.String>
getSheets(Element element)
Property
getSheetsProperty()
java.lang.String
getSourceIdentificationProperty(Element element)
Property
getSourceIdentificationPropertyProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getTargetIdentificationProperty(Element element)
Property
getTargetIdentificationPropertyProperty()
java.lang.String
getUrl(Element element)
Property
getUrlProperty()
boolean
is(Element element)
Checks if stereotype of this wrapper is applied to given element.java.lang.Boolean
isFirstRowRepresentsHeading(Element element)
static boolean
isInstance(Element element)
void
removeMapping(Element element, java.lang.String value)
void
removeMappingColumns(Element element, java.lang.String value)
void
removeSheets(Element element, java.lang.String value)
void
setDeleteRowOption(Element element, java.lang.String value)
void
setDelimiter(Element element, java.lang.String value)
void
setFirstCell(Element element, java.lang.String value)
void
setFirstRowRepresentsHeading(Element element, java.lang.Boolean value)
void
setIdentificationProperty(Element element, java.lang.String value)
void
setLastModified(Element element, java.lang.String value)
void
setMapping(Element element, java.util.Collection<java.lang.String> value)
void
setMappingColumns(Element element, java.util.Collection<java.lang.String> value)
void
setSheet(Element element, java.lang.String value)
void
setSheets(Element element, java.util.Collection<java.lang.String> value)
void
setSourceIdentificationProperty(Element element, java.lang.String value)
void
setTargetIdentificationProperty(Element element, java.lang.String value)
void
setUrl(Element element, java.lang.String 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
-
DELETEROWOPTION
public static final java.lang.String DELETEROWOPTION
- See Also:
- Constant Field Values
-
DELIMITER
public static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
-
FIRSTCELL
public static final java.lang.String FIRSTCELL
- See Also:
- Constant Field Values
-
FIRSTROWREPRESENTSHEADING
public static final java.lang.String FIRSTROWREPRESENTSHEADING
- See Also:
- Constant Field Values
-
IDENTIFICATIONPROPERTY
public static final java.lang.String IDENTIFICATIONPROPERTY
- See Also:
- Constant Field Values
-
LASTMODIFIED
public static final java.lang.String LASTMODIFIED
- See Also:
- Constant Field Values
-
MAPPING
public static final java.lang.String MAPPING
- See Also:
- Constant Field Values
-
MAPPINGCOLUMNS
public static final java.lang.String MAPPINGCOLUMNS
- See Also:
- Constant Field Values
-
SHEET
public static final java.lang.String SHEET
- See Also:
- Constant Field Values
-
SHEETS
public static final java.lang.String SHEETS
- See Also:
- Constant Field Values
-
SOURCEIDENTIFICATIONPROPERTY
public static final java.lang.String SOURCEIDENTIFICATIONPROPERTY
- See Also:
- Constant Field Values
-
TARGETIDENTIFICATIONPROPERTY
public static final java.lang.String TARGETIDENTIFICATIONPROPERTY
- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
deleteRowOption
@CheckForNull private Property deleteRowOption
-
-
Constructor Detail
-
DiagramTableMapToDataSourceStereotype
protected DiagramTableMapToDataSourceStereotype(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
-
getDeleteRowOptionProperty
@CheckForNull public Property getDeleteRowOptionProperty()
-
getDelimiterProperty
@CheckForNull public Property getDelimiterProperty()
-
getFirstCellProperty
@CheckForNull public Property getFirstCellProperty()
-
getFirstRowRepresentsHeadingProperty
@CheckForNull public Property getFirstRowRepresentsHeadingProperty()
-
getIdentificationPropertyProperty
@CheckForNull public Property getIdentificationPropertyProperty()
-
getLastModifiedProperty
@CheckForNull public Property getLastModifiedProperty()
-
getMappingProperty
@CheckForNull public Property getMappingProperty()
-
getMappingColumnsProperty
@CheckForNull public Property getMappingColumnsProperty()
-
getSheetProperty
@CheckForNull public Property getSheetProperty()
-
getSheetsProperty
@CheckForNull public Property getSheetsProperty()
-
getSourceIdentificationPropertyProperty
@CheckForNull public Property getSourceIdentificationPropertyProperty()
-
getTargetIdentificationPropertyProperty
@CheckForNull public Property getTargetIdentificationPropertyProperty()
-
getUrlProperty
@CheckForNull public Property getUrlProperty()
-
setDeleteRowOption
public void setDeleteRowOption(Element element, @CheckForNull java.lang.String value)
-
clearDeleteRowOption
public void clearDeleteRowOption(Element element)
-
getDeleteRowOption
@CheckForNull public java.lang.String getDeleteRowOption(Element element)
-
setDelimiter
public void setDelimiter(Element element, @CheckForNull java.lang.String value)
-
clearDelimiter
public void clearDelimiter(Element element)
-
getDelimiter
@CheckForNull public java.lang.String getDelimiter(Element element)
-
setFirstCell
public void setFirstCell(Element element, @CheckForNull java.lang.String value)
-
clearFirstCell
public void clearFirstCell(Element element)
-
getFirstCell
@CheckForNull public java.lang.String getFirstCell(Element element)
-
setFirstRowRepresentsHeading
public void setFirstRowRepresentsHeading(Element element, @CheckForNull java.lang.Boolean value)
-
clearFirstRowRepresentsHeading
public void clearFirstRowRepresentsHeading(Element element)
-
isFirstRowRepresentsHeading
@CheckForNull public java.lang.Boolean isFirstRowRepresentsHeading(Element element)
-
setIdentificationProperty
public void setIdentificationProperty(Element element, @CheckForNull java.lang.String value)
-
clearIdentificationProperty
public void clearIdentificationProperty(Element element)
-
getIdentificationProperty
@CheckForNull public java.lang.String getIdentificationProperty(Element element)
-
setLastModified
public void setLastModified(Element element, @CheckForNull java.lang.String value)
-
clearLastModified
public void clearLastModified(Element element)
-
getLastModified
@CheckForNull public java.lang.String getLastModified(Element element)
-
setMapping
public void setMapping(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearMapping
public void clearMapping(Element element)
-
addMapping
public void addMapping(Element element, java.lang.String value)
-
removeMapping
public void removeMapping(Element element, java.lang.String value)
-
getMapping
public java.util.List<java.lang.String> getMapping(Element element)
-
setMappingColumns
public void setMappingColumns(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearMappingColumns
public void clearMappingColumns(Element element)
-
addMappingColumns
public void addMappingColumns(Element element, java.lang.String value)
-
removeMappingColumns
public void removeMappingColumns(Element element, java.lang.String value)
-
getMappingColumns
public java.util.List<java.lang.String> getMappingColumns(Element element)
-
setSheet
public void setSheet(Element element, @CheckForNull java.lang.String value)
-
clearSheet
public void clearSheet(Element element)
-
getSheet
@CheckForNull public java.lang.String getSheet(Element element)
-
setSheets
public void setSheets(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearSheets
public void clearSheets(Element element)
-
addSheets
public void addSheets(Element element, java.lang.String value)
-
removeSheets
public void removeSheets(Element element, java.lang.String value)
-
getSheets
public java.util.List<java.lang.String> getSheets(Element element)
-
setSourceIdentificationProperty
public void setSourceIdentificationProperty(Element element, @CheckForNull java.lang.String value)
-
clearSourceIdentificationProperty
public void clearSourceIdentificationProperty(Element element)
-
getSourceIdentificationProperty
@CheckForNull public java.lang.String getSourceIdentificationProperty(Element element)
-
setTargetIdentificationProperty
public void setTargetIdentificationProperty(Element element, @CheckForNull java.lang.String value)
-
clearTargetIdentificationProperty
public void clearTargetIdentificationProperty(Element element)
-
getTargetIdentificationProperty
@CheckForNull public java.lang.String getTargetIdentificationProperty(Element element)
-
setUrl
public void setUrl(Element element, @CheckForNull java.lang.String value)
-
clearUrl
public void clearUrl(Element element)
-
getUrl
@CheckForNull public java.lang.String getUrl(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)
-
-