javax.jmi.model
Interface ModelElement

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
AliasType, Association, AssociationEnd, Attribute, BehavioralFeature, Classifier, CollectionType, Constant, Constraint, DataType, EnumerationType, Feature, GeneralizableElement, Import, MofClass, MofException, MofPackage, Namespace, Operation, Parameter, PrimitiveType, Reference, StructuralFeature, StructureField, StructureType, Tag, TypedElement

public interface ModelElement
extends RefObject


Field Summary
static String ALLDEP
           
static String CONSTRAINEDELEMENTSDEP
           
static String CONSTRAINTDEP
           
static String CONTAINERDEP
           
static String CONTENTSDEP
           
static String IMPORTDEP
           
static String INDIRECTDEP
           
static String REFERENCEDENDSDEP
           
static String SIGNATUREDEP
           
static String SPECIALIZATIONDEP
           
static String TAGGEDELEMENTSDEP
           
static String TYPEDEFINITIONDEP
           
 
Method Summary
 Collection findRequiredElements(Collection kinds, boolean recursive)
           
 String getAnnotation()
           
 Collection getConstraints()
           
 Namespace getContainer()
           
 String getName()
           
 List getQualifiedName()
           
 Collection getRequiredElements()
           
 boolean isFrozen()
           
 boolean isRequiredBecause(ModelElement otherElement, String[] reason)
           
 boolean isVisible(ModelElement otherElement)
           
 void setAnnotation(String newValue)
           
 void setContainer(Namespace newValue)
           
 void setName(String newValue)
           
 
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
 

Field Detail

CONTAINERDEP

static final String CONTAINERDEP
See Also:
Constant Field Values

CONTENTSDEP

static final String CONTENTSDEP
See Also:
Constant Field Values

SIGNATUREDEP

static final String SIGNATUREDEP
See Also:
Constant Field Values

CONSTRAINTDEP

static final String CONSTRAINTDEP
See Also:
Constant Field Values

CONSTRAINEDELEMENTSDEP

static final String CONSTRAINEDELEMENTSDEP
See Also:
Constant Field Values

SPECIALIZATIONDEP

static final String SPECIALIZATIONDEP
See Also:
Constant Field Values

IMPORTDEP

static final String IMPORTDEP
See Also:
Constant Field Values

TYPEDEFINITIONDEP

static final String TYPEDEFINITIONDEP
See Also:
Constant Field Values

REFERENCEDENDSDEP

static final String REFERENCEDENDSDEP
See Also:
Constant Field Values

TAGGEDELEMENTSDEP

static final String TAGGEDELEMENTSDEP
See Also:
Constant Field Values

INDIRECTDEP

static final String INDIRECTDEP
See Also:
Constant Field Values

ALLDEP

static final String ALLDEP
See Also:
Constant Field Values
Method Detail

findRequiredElements

Collection findRequiredElements(Collection kinds,
                                boolean recursive)

isRequiredBecause

boolean isRequiredBecause(ModelElement otherElement,
                          String[] reason)

isFrozen

boolean isFrozen()

isVisible

boolean isVisible(ModelElement otherElement)

getName

String getName()

setName

void setName(String newValue)

getQualifiedName

List getQualifiedName()

getAnnotation

String getAnnotation()

setAnnotation

void setAnnotation(String newValue)

getRequiredElements

Collection getRequiredElements()

getContainer

Namespace getContainer()

setContainer

void setContainer(Namespace newValue)

getConstraints

Collection getConstraints()


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