org.openmdx.ui1.jdo2
Class Segment

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.base.jdo2.Segment
              extended by org.openmdx.ui1.jdo2.Segment
All Implemented Interfaces:
Serializable, javax.jdo.spi.Detachable, javax.jdo.spi.PersistenceCapable, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable

public class Segment
extends org.openmdx.base.jdo2.Segment
implements Segment

Class Segment

See Also:
Serialized Form

Nested Class Summary
static class Segment.Slice
           
 
Nested classes/interfaces inherited from class org.openmdx.base.jdo2.Segment
org.openmdx.base.jdo2.Segment.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.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
static List<String> CLASS
          Define the model class org::openmdx::ui1::Segment
 
Fields inherited from class org.openmdx.base.jdo2.Segment
BASE_CLASS
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
Segment()
           
 
Method Summary
<T extends org.openmdx.base.cci2.Void>
T
assertInspector(String forClass)
           
<T extends SegmentExportElementsResult>
T
exportElements(boolean includeAutoGenerated)
           
<T extends AssertableInspector>
Collection<T>
getAssertableInspector()
          Retrieves a set containing all the elements for the reference assertableInspector.
<T extends Element>
Collection<T>
getElement()
          Retrieves a set containing all the elements for the reference element.
<T extends ElementDefinition>
Collection<T>
getElementDefinition()
          Retrieves a set containing all the elements for the reference elementDefinition.
<T extends FeatureDefinition>
Collection<T>
getFeatureDefinition()
          Retrieves a set containing all the elements for the reference featureDefinition.
static org.openmdx.base.jdo2.Segment.Identity newIdentity(org.openmdx.base.cci2.Provider.Identity provider, 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
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
 
Methods inherited from class org.openmdx.base.jdo2.Segment
getDescription, getProvider, getView, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDetachedInternal, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoPreSerialize, jdoProvideField, jdoProvideFields, jdoReplaceDetachedState, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, setDescription, setProvider, setProvider
 
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.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription, setProvider, setProvider
 
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::openmdx::ui1::Segment

Constructor Detail

Segment

public Segment()
Method Detail

openmdxjdoGetSlices

protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
Overrides:
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObject

getFeatureDefinition

public <T extends FeatureDefinition> Collection<T> getFeatureDefinition()
Retrieves a set containing all the elements for the reference featureDefinition.

Returns:
A set containing all the elements for this reference.

getElementDefinition

public <T extends ElementDefinition> Collection<T> getElementDefinition()
Retrieves a set containing all the elements for the reference elementDefinition.

Returns:
A set containing all the elements for this reference.

getElement

public <T extends Element> Collection<T> getElement()
Retrieves a set containing all the elements for the reference element.

Returns:
A set containing all the elements for this reference.

assertInspector

public <T extends org.openmdx.base.cci2.Void> T assertInspector(String forClass)
                                                     throws javax.jmi.reflect.RefException
Throws:
javax.jmi.reflect.RefException

getAssertableInspector

public <T extends AssertableInspector> Collection<T> getAssertableInspector()
Retrieves a set containing all the elements for the reference assertableInspector.

Returns:
A set containing all the elements for this reference.

exportElements

public <T extends SegmentExportElementsResult> T exportElements(boolean includeAutoGenerated)
                                                     throws javax.jmi.reflect.RefException
Throws:
javax.jmi.reflect.RefException

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObject

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class org.openmdx.base.jdo2.Segment
Returns:
the model class
See Also:
Segment.CLASS

newIdentity

public static org.openmdx.base.jdo2.Segment.Identity newIdentity(org.openmdx.base.cci2.Provider.Identity provider,
                                                                 boolean qualifiedNameIsPersistent,
                                                                 String qualifiedName)


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