|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Element
Abstract class Element
Element classifies the elementary, atomic constructs of models. Element is the root Class within the MOF Model.
| Nested Class Summary | |
|---|---|
static interface |
Element.Identity
Object Identity |
| Method Summary | |
|---|---|
String |
getAnnotation()
Retrieves the possibly null value for the optional attribute annotation. |
Namespace |
getContainer()
Retrieves the value for the reference container. |
Integer |
getElementOrder()
Retrieves the possibly null value for the optional attribute elementOrder. |
String |
getName()
Retrieves the value for the attribute name. |
String |
getQualifiedName()
Retrieves the value for the attribute qualifiedName. |
Segment |
getSegment()
Retrieves the value for the reference segment. |
Set<String> |
getStereotype()
Retrieves a set containing all the elements for the attribute stereotype. |
void |
setAnnotation(String annotation)
Sets a new value for the attribute annotation. |
void |
setContainer(Namespace container)
Sets a new value for the reference container. |
void |
setElementOrder(Integer elementOrder)
Sets a new value for the attribute elementOrder. |
void |
setName(String name)
Sets a new value for the attribute name. |
void |
setStereotype(String... stereotype)
Clears stereotype and adds the given value(s). |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.ContextCapable |
|---|
getContext |
| Methods inherited from interface org.openmdx.base.cci2.Creatable |
|---|
getCreatedAt, getCreatedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.base.cci2.Modifiable |
|---|
getModifiedAt, getModifiedBy |
| Method Detail |
|---|
String getAnnotation()
annotation.
Provides an informal description of the Element.
annotation.void setAnnotation(String annotation)
annotation.
Provides an informal description of the Element.
annotation - The possibly null new value for attribute annotation.Namespace getContainer()
container.
null – value for this reference.void setContainer(Namespace container)
container.
container - The non-null new value for this reference.Integer getElementOrder()
elementOrder.
elementOrder.void setElementOrder(Integer elementOrder)
elementOrder.
elementOrder - The possibly null new value for attribute elementOrder.String getName()
name.
Provides a meta-modeler supplied name that uniquely identifies the Element in the context of the ModelElement?s containing Namespace. When choosing an Element?s name, the meta-modeler should consider the rules for translating names into identifiers in the relevant mappings.
name.void setName(String name)
name.
Provides a meta-modeler supplied name that uniquely identifies the Element in the context of the ModelElement?s containing Namespace. When choosing an Element?s name, the meta-modeler should consider the rules for translating names into identifiers in the relevant mappings.
name - The non-null new value for attribute name.String getQualifiedName()
qualifiedName.
Provides a unique name for the Element within the context of its outermost containing Package. The qualifiedName is a list of NameType values consisting of
the names of the Element, its container, its container?s container and so on until a non-contained element is reached. The first member of the list is the name
of the non-contained element.
The 'qualifiedName' of an Element is of the form
qualifiedName.
Segment getSegment()
segment.
null value for this reference.Set<String> getStereotype()
stereotype.
void setStereotype(String... stereotype)
stereotype and adds the given value(s).
This method is equivalent to
set.clear(); set.addAll(Arrays.asList(stereotype));
stereotype - value(s) to be added to stereotype
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||