org.omg.model1.jmi1
Interface Reference

All Superinterfaces:
BasicObject, ContextCapable, Element, ExtentCapable, Feature, RefBaseObject, Reference, RefFeatured, RefObject, StructuralFeature, TypedElement, ViewCapable

public interface Reference
extends Reference, StructuralFeature

Class Reference


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omg.model1.cci2.Element
Element.Identity
 
Method Summary
 Namespace getContainer()
          Retrieves the value for the reference container.
 AssociationEnd getExposedEnd()
          Retrieves the value for the reference exposedEnd.
 AssociationEnd getReferencedEnd()
          Retrieves the value for the reference referencedEnd.
 Segment getSegment()
          Retrieves the value for the reference segment.
 Classifier getType()
          Retrieves the value for the reference type.
<T extends View>
List<T>
getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeContainer()
          Removes the value for the optional reference container.
 void setContainer(Namespace container)
          Sets a new value for the reference container.
 void setExposedEnd(AssociationEnd exposedEnd)
          Sets a new value for the reference exposedEnd.
 void setReferencedEnd(AssociationEnd referencedEnd)
          Sets a new value for the reference referencedEnd.
 void setType(Classifier type)
          Sets a new value for the reference type.
 
Methods inherited from interface org.omg.model1.cci2.Reference
isReferencedEndIsNavigable
 
Methods inherited from interface org.omg.model1.cci2.StructuralFeature
getMultiplicity, isChangeable, setChangeable, setMultiplicity
 
Methods inherited from interface org.omg.model1.cci2.Feature
getScope, getVisibility, setScope, setVisibility
 
Methods inherited from interface org.omg.model1.jmi1.Element
getStereotype, setSegment, setSegment, setStereotype
 
Methods inherited from interface org.omg.model1.cci2.Element
getAnnotation, getName, getQualifiedName, setAnnotation, setStereotype
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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

getContainer

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

Specified by:
getContainer in interface Element
Returns:
The – possibly null – value for this reference.

setContainer

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

Specified by:
setContainer in interface Element
Parameters:
container - The non-null new value for this reference.

removeContainer

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


getSegment

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

Specified by:
getSegment in interface Element
Returns:
The non-null value for this reference.

getExposedEnd

AssociationEnd getExposedEnd()
Retrieves the value for the reference exposedEnd.

Specified by:
getExposedEnd in interface Reference
Returns:
The non-null value for this reference.

setExposedEnd

void setExposedEnd(AssociationEnd exposedEnd)
Sets a new value for the reference exposedEnd.

Specified by:
setExposedEnd in interface Reference
Parameters:
exposedEnd - The non-null new value for this reference.

getReferencedEnd

AssociationEnd getReferencedEnd()
Retrieves the value for the reference referencedEnd.

Specified by:
getReferencedEnd in interface Reference
Returns:
The non-null value for this reference.

setReferencedEnd

void setReferencedEnd(AssociationEnd referencedEnd)
Sets a new value for the reference referencedEnd.

Specified by:
setReferencedEnd in interface Reference
Parameters:
referencedEnd - The non-null new value for this reference.

getType

Classifier getType()
Retrieves the value for the reference type.

Specified by:
getType in interface TypedElement
Returns:
The non-null value for this reference.

setType

void setType(Classifier type)
Sets a new value for the reference type.

Specified by:
setType in interface TypedElement
Parameters:
type - The non-null new value for this reference.

getView

<T extends View> List<T> getView(ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.


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