public class EAAnnotations extends Object
Modifier and Type | Field and Description |
---|---|
static String |
READER_ANNOTATION_ISAUTOGENERATED
Represents the category called
ea.reader.autogenerated for Extensions created when parsing an Enterprise Architect model |
static String |
READER_ANNOTATION_ISIMPLICITCLASS
Represents the category called
ea.reader.implicitclass for Extensions created when parsing an Enterprise Architect model |
static String |
READER_CATEGORY
Represents the category called
ea.reader.autogenerated for Extensions created when parsing an Enterprise Architect model |
static String |
READER_PROFILE_NSPREFIX
Represents the category called
ea.reader.nsPrefix for Extensions created when parsing an Enterprise Architect model |
static String |
READER_REFERENCE_ISOWNEDBY
Represents the category called
ea.reader.isownedby for Extensions created when parsing an Enterprise Architect model |
static String |
ROOT_ANNOTATION_SOURCE
Represents the category of Extensions created when parsing an Enterprise Architect model
|
static String |
WRITER_ANNOTATION_IS_ASSOCIATION_END
Represents the category called
ea.writer.associationEnd for Extensions created when parsing an Enterprise Architect model |
static String |
WRITER_CATEGORY
Represents the category called
ea.writer.category for Extensions created when parsing an Enterprise Architect model |
static String |
WRITER_REFERENCE_REALIZEDBY
Represents the category called
ea.writer.realizedBy for Extensions created when parsing an Enterprise Architect model |
Constructor and Description |
---|
EAAnnotations() |
Modifier and Type | Method and Description |
---|---|
static Properties |
getProperties(MDWEObject eaObject,
String category)
Returns the
Properties values for the specified eaObject and category. |
static String |
getProperty(MDWEObject eaObject,
String qualifiedProperty)
Returns the Property value for the specified eaObject and qualified Property
|
static void |
setProperty(MDWEObject eaObject,
String category,
String key,
String value)
Creates an
EAnnotation on an MDWorkbench Object |
static void |
setReference(MDWEObject eaObject,
String category,
String key,
EObject value)
Deprecated.
This method will be removed in a future release
|
public static final String ROOT_ANNOTATION_SOURCE
public static final String READER_CATEGORY
ea.reader.autogenerated
for Extensions created when parsing an Enterprise Architect modelpublic static final String READER_ANNOTATION_ISAUTOGENERATED
ea.reader.autogenerated
for Extensions created when parsing an Enterprise Architect modelpublic static final String READER_ANNOTATION_ISIMPLICITCLASS
ea.reader.implicitclass
for Extensions created when parsing an Enterprise Architect modelpublic static final String READER_PROFILE_NSPREFIX
ea.reader.nsPrefix
for Extensions created when parsing an Enterprise Architect modelpublic static final String READER_REFERENCE_ISOWNEDBY
ea.reader.isownedby
for Extensions created when parsing an Enterprise Architect modelpublic static final String WRITER_CATEGORY
ea.writer.category
for Extensions created when parsing an Enterprise Architect modelpublic static final String WRITER_REFERENCE_REALIZEDBY
ea.writer.realizedBy
for Extensions created when parsing an Enterprise Architect modelpublic static final String WRITER_ANNOTATION_IS_ASSOCIATION_END
ea.writer.associationEnd
for Extensions created when parsing an Enterprise Architect modelpublic static Properties getProperties(MDWEObject eaObject, String category)
Properties
values for the specified eaObject and category.eaObject
- A MDWorkbench Object from Enterprise Architectcategory
- The category of propertiespublic static String getProperty(MDWEObject eaObject, String qualifiedProperty)
eaObject
- A MDWorkbench Object from Enterprise ArchitectqualifiedProperty
- The qualified name of the property. Format: category.propertyKey.public static void setProperty(MDWEObject eaObject, String category, String key, String value)
EAnnotation
on an MDWorkbench ObjecteaObject
- The MDWorkbench Object for which the Property has to be createdcategory
- The category of the Propertykey
- The Property keyvalue
- The value of the Property@Deprecated public static void setReference(MDWEObject eaObject, String category, String key, EObject value)