org.omg.model1.jdo2
Class Operation

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.omg.model1.jdo2.Element
              extended by org.omg.model1.jdo2.Operation
All Implemented Interfaces:
Serializable, BehaviouralFeature, Element, Feature, Namespace, Operation, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class Operation
extends Element
implements Operation

Class Operation

See Also:
Serialized Form

Nested Class Summary
static class Operation.Slice
           
 
Nested classes/interfaces inherited from class org.omg.model1.jdo2.Element
Element.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.omg.model1.cci2.Element
Element.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::omg::model1::Operation
 
Fields inherited from class org.omg.model1.jdo2.Element
BASE_CLASS
 
Constructor Summary
Operation()
           
 
Method Summary
<T extends NamespaceFindElementsByTypeResult>
T
findElementsByType(boolean includeSubtypes, String ofType)
           
<T extends Element>
Set<T>
getAllNamespaceContent()
          Retrieves a set containing all the elements for the reference allNamespaceContent.
<T extends Element>
Set<T>
getContent()
          Retrieves the Collection of objects referenced by content.
<T extends Exception>
Set<T>
getException()
          Retrieves the Collection of objects referenced by exception.
<T extends Element>
Set<T>
getNamespaceContent()
          Retrieves a set containing all the elements for the reference namespaceContent.
<T extends Parameter>
List<T>
getParameter()
          Retrieves the Collection of objects referenced by parameter.
 String getScope()
          Retrieves the value for the attribute scope.
 String getSemantics()
           
 String getVisibility()
          Retrieves the value for the attribute visibility.
 boolean isQuery()
          Retrieves the value for the attribute isQuery.
<T extends NamespaceLookupElementResult>
T
lookupElement(String name)
           
static Element.Identity newIdentity(Segment.Identity segment, boolean qualifiedNameIsPersistent, String qualifiedName)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
<T extends NamespaceResolveQualifiedNameResult>
T
resolveQualifiedName(String qualifiedName)
           
 void setQuery(boolean isQuery)
          Sets a new value for the attribute isQuery.
 void setScope(String scope)
          Sets a new value for the attribute scope.
 void setSemantics(String semantics)
          Sets a new value for the attribute semantics.
 void setVisibility(String visibility)
          Sets a new value for the attribute visibility.
 
Methods inherited from class org.omg.model1.jdo2.Element
getAnnotation, getContainer, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getName, getQualifiedName, getSegment, getStereotype, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, setAnnotation, setContainer, setSegment, setSegment, setStereotype
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.model1.cci2.Element
getAnnotation, getContainer, getName, getQualifiedName, getSegment, getStereotype, setAnnotation, setContainer, setSegment, setSegment, setStereotype
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::omg::model1::Operation

Constructor Detail

Operation

public Operation()
Method Detail

getScope

public String getScope()
Retrieves the value for the attribute scope.

Specified by:
getScope in interface Feature
Returns:
The non-null value for attribute scope.

setScope

public void setScope(String scope)
Sets a new value for the attribute scope.

Specified by:
setScope in interface Feature
Parameters:
scope - The non-null new value for attribute scope.

lookupElement

public <T extends NamespaceLookupElementResult> T lookupElement(String name)
                                                     throws RefException
Specified by:
lookupElement in interface Namespace
Throws:
RefException

getVisibility

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

Specified by:
getVisibility in interface Feature
Returns:
The non-null value for attribute visibility.

setVisibility

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

Specified by:
setVisibility in interface Feature
Parameters:
visibility - The non-null new value for attribute visibility.

getException

public <T extends Exception> Set<T> getException()
Retrieves the Collection of objects referenced by exception.

Specified by:
getException in interface Operation
Returns:
The Collection of referenced objects.

getAllNamespaceContent

public <T extends Element> Set<T> getAllNamespaceContent()
Retrieves a set containing all the elements for the reference allNamespaceContent.

Specified by:
getAllNamespaceContent in interface Namespace
Returns:
A set containing all the elements for this reference.

getParameter

public <T extends Parameter> List<T> getParameter()
Retrieves the Collection of objects referenced by parameter.

Specified by:
getParameter in interface BehaviouralFeature
Returns:
The Collection of referenced objects.

getSemantics

public final String getSemantics()
Specified by:
getSemantics in interface Operation
Returns:
The possibly null value for attribute semantics.

setSemantics

public void setSemantics(String semantics)
Sets a new value for the attribute semantics.

Specified by:
setSemantics in interface Operation
Parameters:
semantics - The possibly null new value for attribute semantics.

resolveQualifiedName

public <T extends NamespaceResolveQualifiedNameResult> T resolveQualifiedName(String qualifiedName)
                                                                   throws RefException
Specified by:
resolveQualifiedName in interface Namespace
Throws:
RefException

findElementsByType

public <T extends NamespaceFindElementsByTypeResult> T findElementsByType(boolean includeSubtypes,
                                                                          String ofType)
                                                               throws RefException
Specified by:
findElementsByType in interface Namespace
Throws:
RefException

getNamespaceContent

public <T extends Element> Set<T> getNamespaceContent()
Retrieves a set containing all the elements for the reference namespaceContent.

Specified by:
getNamespaceContent in interface Namespace
Returns:
A set containing all the elements for this reference.

isQuery

public boolean isQuery()
Retrieves the value for the attribute isQuery.

Specified by:
isQuery in interface Operation
Returns:
The non-null value for attribute isQuery.

setQuery

public void setQuery(boolean isQuery)
Sets a new value for the attribute isQuery.

Specified by:
setQuery in interface Operation
Parameters:
isQuery - The non-null new value for attribute isQuery.

getContent

public <T extends Element> Set<T> getContent()
Retrieves the Collection of objects referenced by content.

Specified by:
getContent in interface Namespace
Returns:
The Collection of referenced objects.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Element

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Element

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Element

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Element
Returns:
the model class
See Also:
Operation.CLASS

newIdentity

public static Element.Identity newIdentity(Segment.Identity segment,
                                           boolean qualifiedNameIsPersistent,
                                           String qualifiedName)


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