Class EAAnnotations
- java.lang.Object
-
- com.sodius.mdw.metamodel.uml21.io.ea.EAAnnotations
-
public class EAAnnotations extends java.lang.ObjectThis Class is used to Manage the Enterprise Architect Extensions
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREADER_ANNOTATION_ISAUTOGENERATEDRepresents the category calledea.reader.autogeneratedfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringREADER_ANNOTATION_ISIMPLICITCLASSRepresents the category calledea.reader.implicitclassfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringREADER_ANNOTATION_LOCAL_TAGSRepresents the list of local tags name, separated by ;static java.lang.StringREADER_ANNOTATION_STEREOTYPERepresents the name of the main Stereotype applied on this elementstatic java.lang.StringREADER_CATEGORYRepresents the category calledea.reader.autogeneratedfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringREADER_COMMENT_ISDOCUMENTATIONRepresents the category calledea.reader.isDocumentationfor Extensions created when parsing an Enterprise Architect model Valuated to True if the annotated Comment is generated from the documentation of an Element False otherwisestatic java.lang.StringREADER_CONSTRAINT_DIAGRAM_IDRepresents the ID of the Diagram on which the Constraint is applied.static java.lang.StringREADER_EA_VERSIONRepresents the version of Enterprise Architect used to export the XMI.static java.lang.StringREADER_PROFILE_NSPREFIXRepresents the category calledea.reader.nsPrefixfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringREADER_REFERENCE_ISOWNEDBYRepresents the category calledea.reader.isownedbyfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringROOT_ANNOTATION_SOURCERepresents the category of Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringWRITER_ANNOTATION_IS_ASSOCIATION_ENDRepresents the category calledea.writer.associationEndfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringWRITER_CATEGORYRepresents the category calledea.writer.categoryfor Extensions created when parsing an Enterprise Architect modelstatic java.lang.StringWRITER_REFERENCE_REALIZEDBYRepresents the category calledea.writer.realizedByfor Extensions created when parsing an Enterprise Architect model
-
Constructor Summary
Constructors Constructor Description EAAnnotations()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.PropertiesgetProperties(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category)Returns thePropertiesvalues for the specified eaObject and category.static java.lang.StringgetProperty(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String qualifiedProperty)Returns the Property value for the specified eaObject and qualified Propertystatic voidsetProperty(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category, java.lang.String key, java.lang.String value)Creates anEAnnotationon an MDWorkbench Objectstatic voidsetReference(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category, java.lang.String key, org.eclipse.emf.ecore.EObject value)Deprecated.This method will be removed in a future release
-
-
-
Field Detail
-
ROOT_ANNOTATION_SOURCE
public static final java.lang.String ROOT_ANNOTATION_SOURCE
Represents the category of Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_CATEGORY
public static final java.lang.String READER_CATEGORY
Represents the category calledea.reader.autogeneratedfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_COMMENT_ISDOCUMENTATION
public static final java.lang.String READER_COMMENT_ISDOCUMENTATION
Represents the category calledea.reader.isDocumentationfor Extensions created when parsing an Enterprise Architect model Valuated to True if the annotated Comment is generated from the documentation of an Element False otherwise- See Also:
- Constant Field Values
-
READER_EA_VERSION
public static final java.lang.String READER_EA_VERSION
Represents the version of Enterprise Architect used to export the XMI.- See Also:
- Constant Field Values
-
READER_ANNOTATION_ISAUTOGENERATED
public static final java.lang.String READER_ANNOTATION_ISAUTOGENERATED
Represents the category calledea.reader.autogeneratedfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_ANNOTATION_ISIMPLICITCLASS
public static final java.lang.String READER_ANNOTATION_ISIMPLICITCLASS
Represents the category calledea.reader.implicitclassfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_ANNOTATION_STEREOTYPE
public static final java.lang.String READER_ANNOTATION_STEREOTYPE
Represents the name of the main Stereotype applied on this element- See Also:
- Constant Field Values
-
READER_ANNOTATION_LOCAL_TAGS
public static final java.lang.String READER_ANNOTATION_LOCAL_TAGS
Represents the list of local tags name, separated by ;- See Also:
- Constant Field Values
-
READER_PROFILE_NSPREFIX
public static final java.lang.String READER_PROFILE_NSPREFIX
Represents the category calledea.reader.nsPrefixfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_REFERENCE_ISOWNEDBY
public static final java.lang.String READER_REFERENCE_ISOWNEDBY
Represents the category calledea.reader.isownedbyfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
WRITER_CATEGORY
public static final java.lang.String WRITER_CATEGORY
Represents the category calledea.writer.categoryfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
WRITER_REFERENCE_REALIZEDBY
public static final java.lang.String WRITER_REFERENCE_REALIZEDBY
Represents the category calledea.writer.realizedByfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
WRITER_ANNOTATION_IS_ASSOCIATION_END
public static final java.lang.String WRITER_ANNOTATION_IS_ASSOCIATION_END
Represents the category calledea.writer.associationEndfor Extensions created when parsing an Enterprise Architect model- See Also:
- Constant Field Values
-
READER_CONSTRAINT_DIAGRAM_ID
public static final java.lang.String READER_CONSTRAINT_DIAGRAM_ID
Represents the ID of the Diagram on which the Constraint is applied. Used to store element non supported by UML Diagrams like the description- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperties
public static java.util.Properties getProperties(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category)Returns thePropertiesvalues for the specified eaObject and category.- Parameters:
eaObject- A MDWorkbench Object from Enterprise Architectcategory- The category of properties- Returns:
- Properties reflecting each property of the category, null if not existing
-
getProperty
public static java.lang.String getProperty(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String qualifiedProperty)Returns the Property value for the specified eaObject and qualified Property- Parameters:
eaObject- A MDWorkbench Object from Enterprise ArchitectqualifiedProperty- The qualified name of the property. Format: category.propertyKey.- Returns:
- the property value
-
setProperty
public static void setProperty(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category, java.lang.String key, java.lang.String value)Creates anEAnnotationon an MDWorkbench Object- Parameters:
eaObject- The MDWorkbench Object for which the Property has to be createdcategory- The category of the Propertykey- The Property keyvalue- The value of the Property
-
setReference
@Deprecated public static void setReference(com.sodius.mdw.core.model.MDWObject eaObject, java.lang.String category, java.lang.String key, org.eclipse.emf.ecore.EObject value)Deprecated.This method will be removed in a future release
-
-