org.omg.model1.cci
Interface GeneralizableElement

All Superinterfaces:
BasicObject, ContextCapable, Element, ExtentCapable, Namespace, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ViewCapable
All Known Subinterfaces:
AliasType, Association, Class, Classifier, CollectionType, Datatype, EnumerationType, Package, PrimitiveType, StructureType
All Known Implementing Classes:
AliasTypeImpl, AssociationImpl, ClassifierImpl, ClassImpl, CollectionTypeImpl, DatatypeImpl, EnumerationTypeImpl, GeneralizableElementImpl, PackageImpl, PrimitiveTypeImpl, StructureTypeImpl

public interface GeneralizableElement
extends Namespace


Method Summary
 Collection getAllSubtype()
          Retrieves a collection containing all the elements for the reference allSubtype.
 List getAllSubtype(GeneralizableElementFilter filter)
          Retrieves the value for the reference allSubtype for the specified filter.
 List getAllSubtype(GeneralizableElementQuery query)
          Retrieves the value for the reference allSubtype for the specified query.
 Collection getAllSupertype()
          Retrieves a collection containing all the elements for the reference allSupertype.
 List getAllSupertype(GeneralizableElementFilter filter)
          Retrieves the value for the reference allSupertype for the specified filter.
 List getAllSupertype(GeneralizableElementQuery query)
          Retrieves the value for the reference allSupertype for the specified query.
 Collection getFeature()
          Retrieves a collection containing all the elements for the reference feature.
 List getFeature(FeatureFilter filter)
          Retrieves the value for the reference feature for the specified filter.
 List getFeature(FeatureQuery query)
          Retrieves the value for the reference feature for the specified query.
 Collection getSubtype()
          Retrieves a collection containing all the elements for the reference subtype.
 List getSubtype(GeneralizableElementFilter filter)
          Retrieves the value for the reference subtype for the specified filter.
 List getSubtype(GeneralizableElementQuery query)
          Retrieves the value for the reference subtype for the specified query.
 Collection getSupertype()
          Retrieves a collection containing all the elements for the reference supertype.
 List getSupertype(GeneralizableElementFilter filter)
          Retrieves the value for the reference supertype for the specified filter.
 List getSupertype(GeneralizableElementQuery query)
          Retrieves the value for the reference supertype for the specified query.
 String getVisibility()
          Retrieves the value for the attribute visibility.
 boolean isAbstract()
          Retrieves the value for the attribute isAbstract.
 void setAbstract_(boolean newValue)
          Sets a new value for the attribute isAbstract.
 void setVisibility(String newValue)
          Sets a new value for the attribute visibility.
 
Methods inherited from interface org.omg.model1.cci.Namespace
findElementsByType, findElementsByType, getAllNamespaceContent, getAllNamespaceContent, getAllNamespaceContent, getAllNamespaceContent, getContent, getContent, getContent, getNamespaceContent, getNamespaceContent, getNamespaceContent, getNamespaceContent, lookupElement, lookupElement, resolveQualifiedName, resolveQualifiedName
 
Methods inherited from interface org.omg.model1.cci.Element
getAnnotation, getContainer, getName, getQualifiedName, getSegment, getStereotype, removeContainer, setAnnotation, setContainer, setStereotype
 
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

getAllSubtype

Collection getAllSubtype()
Retrieves a collection containing all the elements for the reference allSubtype.

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

getAllSubtype

List getAllSubtype(GeneralizableElementFilter filter)
Retrieves the value for the reference allSubtype for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getAllSubtype

List getAllSubtype(GeneralizableElementQuery query)
Retrieves the value for the reference allSubtype for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getAllSupertype

Collection getAllSupertype()
Retrieves a collection containing all the elements for the reference allSupertype.

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

getAllSupertype

List getAllSupertype(GeneralizableElementFilter filter)
Retrieves the value for the reference allSupertype for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getAllSupertype

List getAllSupertype(GeneralizableElementQuery query)
Retrieves the value for the reference allSupertype for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFeature

Collection getFeature()
Retrieves a collection containing all the elements for the reference feature.

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

getFeature

List getFeature(FeatureFilter filter)
Retrieves the value for the reference feature for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFeature

List getFeature(FeatureQuery query)
Retrieves the value for the reference feature for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

isAbstract

boolean isAbstract()
Retrieves the value for the attribute isAbstract.

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

setAbstract_

void setAbstract_(boolean newValue)
Sets a new value for the attribute isAbstract.

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

getSubtype

Collection getSubtype()
Retrieves a collection containing all the elements for the reference subtype.

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

getSubtype

List getSubtype(GeneralizableElementFilter filter)
Retrieves the value for the reference subtype for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSubtype

List getSubtype(GeneralizableElementQuery query)
Retrieves the value for the reference subtype for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSupertype

Collection getSupertype()
Retrieves a collection containing all the elements for the reference supertype.

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

getSupertype

List getSupertype(GeneralizableElementFilter filter)
Retrieves the value for the reference supertype for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSupertype

List getSupertype(GeneralizableElementQuery query)
Retrieves the value for the reference supertype for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getVisibility

String getVisibility()
Retrieves the value for the attribute visibility.

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

setVisibility

void setVisibility(String newValue)
Sets a new value for the attribute visibility.

Parameters:
newValue - The non-null new value for attribute visibility.
Throws:
JmiException - If the value 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.