org.omg.model1.jdo2
Class Package

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.Package
All Implemented Interfaces:
Serializable, Element, GeneralizableElement, Namespace, Package, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class Package
extends Element
implements Package

Class Package

See Also:
Serialized Form

Nested Class Summary
static class Package.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::Package
 
Fields inherited from class org.omg.model1.jdo2.Element
BASE_CLASS
 
Constructor Summary
Package()
           
 
Method Summary
<T extends PackageExternalizeResult>
T
externalizePackage(List<String> format)
           
<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 GeneralizableElement>
Set<T>
getAllSubtype()
          Retrieves the Collection of objects referenced by allSubtype.
<T extends GeneralizableElement>
Set<T>
getAllSupertype()
          Retrieves the Collection of objects referenced by allSupertype.
<T extends Element>
Set<T>
getContent()
          Retrieves the Collection of objects referenced by content.
<T extends Feature>
Set<T>
getFeature()
          Retrieves the Collection of objects referenced by feature.
<T extends Element>
Set<T>
getNamespaceContent()
          Retrieves a set containing all the elements for the reference namespaceContent.
<T extends GeneralizableElement>
Set<T>
getSubtype()
          Retrieves the Collection of objects referenced by subtype.
<T extends GeneralizableElement>
Set<T>
getSupertype()
          Retrieves the Collection of objects referenced by supertype.
 String getVisibility()
          Retrieves the value for the attribute visibility.
 boolean isAbstract()
          Retrieves the value for the attribute isAbstract.
<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 setAbstract(boolean isAbstract)
          Sets a new value for the attribute isAbstract.
 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::Package

Constructor Detail

Package

public Package()
Method Detail

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 GeneralizableElement
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 GeneralizableElement
Parameters:
visibility - The non-null new value for attribute visibility.

getSupertype

public <T extends GeneralizableElement> Set<T> getSupertype()
Retrieves the Collection of objects referenced by supertype.

Specified by:
getSupertype in interface GeneralizableElement
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.

externalizePackage

public <T extends PackageExternalizeResult> T externalizePackage(List<String> format)
                                                      throws RefException
Specified by:
externalizePackage in interface Package
Throws:
RefException

isAbstract

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

Specified by:
isAbstract in interface GeneralizableElement
Returns:
The non-null value for attribute isAbstract.

setAbstract

public void setAbstract(boolean isAbstract)
Sets a new value for the attribute isAbstract.

Specified by:
setAbstract in interface GeneralizableElement
Parameters:
isAbstract - The non-null new value for attribute isAbstract.

getFeature

public <T extends Feature> Set<T> getFeature()
Retrieves the Collection of objects referenced by feature.

Specified by:
getFeature in interface GeneralizableElement
Returns:
The Collection of referenced objects.

getAllSupertype

public <T extends GeneralizableElement> Set<T> getAllSupertype()
Retrieves the Collection of objects referenced by allSupertype.

Specified by:
getAllSupertype in interface GeneralizableElement
Returns:
The Collection of referenced objects.

resolveQualifiedName

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

getAllSubtype

public <T extends GeneralizableElement> Set<T> getAllSubtype()
Retrieves the Collection of objects referenced by allSubtype.

Specified by:
getAllSubtype in interface GeneralizableElement
Returns:
The Collection of referenced objects.

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.

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.

getSubtype

public <T extends GeneralizableElement> Set<T> getSubtype()
Retrieves the Collection of objects referenced by subtype.

Specified by:
getSubtype in interface GeneralizableElement
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:
Package.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.