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_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(MDWObject eaObject, java.lang.String category)Returns thePropertiesvalues for the specified eaObject and category.static java.lang.StringgetProperty(MDWObject eaObject, java.lang.String qualifiedProperty)Returns the Property value for the specified eaObject and qualified Propertystatic voidsetProperty(MDWObject eaObject, java.lang.String category, java.lang.String key, java.lang.String value)Creates anEAnnotationon an MDWorkbench Objectstatic voidsetReference(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
-
-
Method Detail
-
getProperties
public static java.util.Properties getProperties(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(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(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(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
-
-