Package com.nomagic.uml2
Class MagicDrawProfile.MapToDataSourceStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.MapToDataSourceStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.MapToDataSourceStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
delimiter
static java.lang.String
DELIMITER
private Property
firstCell
static java.lang.String
FIRSTCELL
private Property
firstRowRepresentsHeading
static java.lang.String
FIRSTROWREPRESENTSHEADING
private Property
identificationProperty
static java.lang.String
IDENTIFICATIONPROPERTY
private Property
lastModified
static java.lang.String
LASTMODIFIED
private Property
mapping
static java.lang.String
MAPPING
private Property
mappingColumns
static java.lang.String
MAPPINGCOLUMNS
private Property
sheet
static java.lang.String
SHEET
private Property
sheets
static java.lang.String
SHEETS
private Property
sourceIdentificationProperty
static java.lang.String
SOURCEIDENTIFICATIONPROPERTY
static java.lang.String
STEREOTYPE_NAME
private Property
targetIdentificationProperty
static java.lang.String
TARGETIDENTIFICATIONPROPERTY
private Property
url
static java.lang.String
URL
-
Constructor Summary
Constructors Modifier Constructor Description protected
MapToDataSourceStereotype(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
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
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
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
-
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
-
delimiter
@CheckForNull private Property delimiter
-
firstCell
@CheckForNull private Property firstCell
-
firstRowRepresentsHeading
@CheckForNull private Property firstRowRepresentsHeading
-
identificationProperty
@CheckForNull private Property identificationProperty
-
lastModified
@CheckForNull private Property lastModified
-
mapping
@CheckForNull private Property mapping
-
mappingColumns
@CheckForNull private Property mappingColumns
-
sheet
@CheckForNull private Property sheet
-
sheets
@CheckForNull private Property sheets
-
sourceIdentificationProperty
@CheckForNull private Property sourceIdentificationProperty
-
targetIdentificationProperty
@CheckForNull private Property targetIdentificationProperty
-
url
@CheckForNull private Property url
-
-
Constructor Detail
-
MapToDataSourceStereotype
protected MapToDataSourceStereotype(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
-
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()
-
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)
-
-