org.omg.model1.cci
Interface Element

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ViewCapable
All Known Subinterfaces:
AliasType, Association, AssociationEnd, Attribute, BehaviouralFeature, Class, Classifier, CollectionType, Constant, Constraint, Datatype, EnumerationType, Exception, Feature, GeneralizableElement, Import, Namespace, Operation, Package, Parameter, PrimitiveType, Reference, StructuralFeature, StructureField, StructureType, Tag, TypedElement
All Known Implementing Classes:
AliasTypeImpl, AssociationEndImpl, AssociationImpl, AttributeImpl, BehaviouralFeatureImpl, ClassifierImpl, ClassImpl, CollectionTypeImpl, ConstantImpl, ConstraintImpl, DatatypeImpl, ElementImpl, EnumerationTypeImpl, ExceptionImpl, FeatureImpl, GeneralizableElementImpl, ImportImpl, NamespaceImpl, OperationImpl, PackageImpl, ParameterImpl, PrimitiveTypeImpl, ReferenceImpl, StructuralFeatureImpl, StructureFieldImpl, StructureTypeImpl, TagImpl, TypedElementImpl

public interface Element
extends BasicObject


Method Summary
 String getAnnotation()
          Retrieves the possibly null value for the optional attribute annotation.
 Namespace getContainer()
          Retrieves the value for the optional reference container.
 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 getStereotype()
          Retrieves a set containing all the elements for the attribute stereotype.
 void removeContainer()
          Removes the value for the optional reference container.
 void setAnnotation(String newValue)
          Sets a new value for the attribute annotation.
 void setContainer(Namespace newValue)
          Sets a new value for the reference container.
 void setStereotype(Set newValue)
          Sets a new set containing all the new elements for the attribute stereotype.
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getAnnotation

String getAnnotation()
Retrieves the possibly null value for the optional attribute annotation.

Returns:
The possibly null value for attribute annotation.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setAnnotation

void setAnnotation(String newValue)
Sets a new value for the attribute annotation.

Parameters:
newValue - The possibly null new value for attribute annotation.
Throws:
JmiException - If the value cannot be set for some reason.

getContainer

Namespace getContainer()
Retrieves the value for the optional reference container.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setContainer

void setContainer(Namespace newValue)
Sets a new value for the reference container.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeContainer

void removeContainer()
Removes the value for the optional reference container.

Throws:
JmiException - If the value cannot be removed for some reason.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getQualifiedName

String getQualifiedName()
Retrieves the value for the attribute qualifiedName.

Returns:
The non-null value for attribute qualifiedName.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSegment

Segment getSegment()
Retrieves the value for the reference segment.

Returns:
The non-null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getStereotype

Set getStereotype()
Retrieves a set containing all the elements for the attribute stereotype.

Returns:
A set containing all elements for this attribute.
Throws:
JmiException - If the values cannot be retrieved for some reason.

setStereotype

void setStereotype(Set newValue)
Sets a new set containing all the new elements for the attribute stereotype.

Parameters:
newValue - A set containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.