Chapter 7 Working with Eclipse


Defining extended attributes

You can customize the .ecore files and the .genmodel file generation by changing the values of some extended attributes.

Model Extended Attributes

Name Description
BasePackageName Base package name
EditorPluginClass Editor plugin class name
EditPluginClass Edit plugin class name
ModelPluginID Model plugin ID
NamespacePrefix Namespace prefix of the package
NamespaceURI Namespace URI of the package

Package Extended Attributes

Name Description
BasePackageName Base package name
NamespacePrefix Namespace prefix of the package
NamespaceURI Namespace URI of the package

Attribute Extended Attributes

Name Description
Unique Indicates whether a many-valued attribute is allowed to have duplicates
Unsettable Generates a unset method to undo the set operation

Association Extended Attributes

Name Description
RoleADefaultValue Default value of Role A attribute
RoleAResolveProxies Resolves proxies if the Object A is in another file
RoleATrancient Indicates that navigation from Object B to Object A is transient
RoleAUnique Indicates whether a many-valued Role A attribute is allowed to have duplicates
RoleBDefaultValue Default value of Role B attribute
RoleBResolveProxies Resolves proxies if the Object B is in another file
RoleBTransient Indicates that navigation from Object A to Object B is transient
RoleBUnique Indicates whether a many-valued Role B attribute is allowed to have duplicates

 


Copyright (C) 2007. Sybase Inc. All rights reserved.