org.omg.cwm.objectmodel.core
Interface ModelElement

All Superinterfaces:
Element, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Subinterfaces:
Attribute, org.omg.cwm.objectmodel.behavioral.BehavioralFeature, Catalog, CheckConstraint, Classifier, CodedLevel, Column, ColumnSet, ColumnValue, Constraint, ContentMap, Cube, CubeDeployment, CubeDimensionAssociation, CubeRegion, DataType, DataValue, Dependency, DeploymentGroup, Dimension, Dimension, DimensionDeployment, DimensionedObject, Extent, Feature, ForeignKey, Hierarchy, HierarchyLevelAssociation, org.omg.cwm.foundation.keysindexes.Index, org.omg.cwm.foundation.keysindexes.IndexedFeature, Instance, org.omg.cwm.foundation.keysindexes.KeyRelationship, Level, LevelBasedHierarchy, Measure, Member, MemberSelection, MemberSelectionGroup, MemberSet, MemberValue, org.omg.cwm.objectmodel.behavioral.Method, Model, MOFClass, MOFPackage, NamedColumnSet, Namespace, Object, org.omg.cwm.objectmodel.behavioral.Parameter, PrimaryKey, Procedure, QueryColumnSet, Row, RowSet, Schema, Schema, Schema, Slot, SqldataType, SqldistinctType, Sqlindex, SqlindexColumn, Sqlparameter, SqlsimpleType, SqlstructuredType, Stereotype, StructuralFeature, StructureMap, Subsystem, Table, org.omg.cwm.analysis.transformation.Transformation, org.omg.cwm.analysis.transformation.TransformationMap, Trigger, org.omg.cwm.foundation.datatypes.TypeAlias, UniqueConstraint, org.omg.cwm.foundation.keysindexes.UniqueKey, ValueBasedHierarchy, View

public interface ModelElement
extends Element

A model element is an element that is an abstraction drawn from the system being modeled. In the metamodel, a ModelElement is a named entity in a Model. It is the base for all modeling metaclasses in the CWM. All other modeling metaclasses are either direct or indirect subclasses of ModelElement.


Method Summary
 java.util.Collection getClientDependency()
           
 java.util.Collection getConstraint()
           
 java.util.Collection getImporter()
           
 java.lang.String getName()
          An identifier for the ModelElement within its containing Namespace.
 Namespace getNamespace()
           
 VisibilityKind getVisibility()
          Specifies extent of the visibility of the ModelElement within its owning Namespace.
 void setName(java.lang.String newValue)
          An identifier for the ModelElement within its containing Namespace.
 void setNamespace(Namespace newValue)
           
 void setVisibility(VisibilityKind newValue)
          Specifies extent of the visibility of the ModelElement within its owning Namespace.
 
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

getName

public java.lang.String getName()
                         throws javax.jmi.reflect.JmiException
An identifier for the ModelElement within its containing Namespace.

setName

public void setName(java.lang.String newValue)
             throws javax.jmi.reflect.JmiException
An identifier for the ModelElement within its containing Namespace.

getVisibility

public VisibilityKind getVisibility()
                             throws javax.jmi.reflect.JmiException
Specifies extent of the visibility of the ModelElement within its owning Namespace.

setVisibility

public void setVisibility(VisibilityKind newValue)
                   throws javax.jmi.reflect.JmiException
Specifies extent of the visibility of the ModelElement within its owning Namespace.

getClientDependency

public java.util.Collection getClientDependency()
                                         throws javax.jmi.reflect.JmiException

getConstraint

public java.util.Collection getConstraint()
                                   throws javax.jmi.reflect.JmiException

getImporter

public java.util.Collection getImporter()
                                 throws javax.jmi.reflect.JmiException

getNamespace

public Namespace getNamespace()
                       throws javax.jmi.reflect.JmiException

setNamespace

public void setNamespace(Namespace newValue)
                  throws javax.jmi.reflect.JmiException


Copyright 1997-2005 by Object Management Group, Inc. (http://www.omg.org/), 250 First Ave. Needham, MA 02494 U.S.A. All rights reserved. Unless otherwise indicated, users may make a single copy of the contents, in whole or in part, of this web site strictly for personal, non-commercial use. In the event that all or part of this site is downloaded for personal use, users shall maintain all proprietary notices including copyright notices that appear on or in connection with that content. Other than creating a single copy of contents for personal use as described herein, users may not copy, reproduce, distribute, republish, download, display, post or transmit in any form or by any means, including but not limited to electronic, mechanical, photocopying, recording, or other means, any content found or linked to the OMG web site without the prior express written permission of OMG. Any unauthorized use of any content contained on the OMG web site may violate the copyright laws, trademark laws, laws relating to publicity and privacy, and other regulations and statutes in the U.S. and other countries.