|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.openmdx.base.jdo2.Segment
org.openmdx.ui1.jdo2.Segment
public class Segment
Class Segment
| Nested Class Summary | |
|---|---|
static class |
Segment.Slice
Slice object hold the Segment's multivalued
attributes |
| 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.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 | ||
|---|---|---|
void |
addElement(boolean idIsPersistent,
String id,
Element element)
Adds the specified element to the set of the values for the reference element. |
|
void |
addElementDefinition(boolean nameIsPersistent,
String name,
ElementDefinition elementDefinition)
Adds the specified element to the set of the values for the reference elementDefinition. |
|
void |
addFeatureDefinition(boolean qualifiedNameIsPersistent,
String qualifiedName,
FeatureDefinition featureDefinition)
Adds the specified element to the set of the values for the reference featureDefinition. |
|
org.openmdx.base.cci2.Void |
assertInspector(String forClass)
|
|
SegmentExportElementsResult |
exportElements(boolean includeAutoGenerated)
|
|
|
getAssertableInspector()
Retrieves a set containing all the elements for the reference assertableInspector. |
|
AssertableInspector |
getAssertableInspector(boolean nameIsPersistent,
String name)
Retrieves the value for the reference assertableInspector
for the specified qualifier attribute value. |
|
|
getElement()
Retrieves a set containing all the elements for the reference element. |
|
Element |
getElement(boolean idIsPersistent,
String id)
Retrieves the value for the reference element for the
specified qualifier attribute value. |
|
|
getElementDefinition()
Retrieves a set containing all the elements for the reference elementDefinition. |
|
ElementDefinition |
getElementDefinition(boolean nameIsPersistent,
String name)
Retrieves the value for the reference elementDefinition
for the specified qualifier attribute value. |
|
|
getFeatureDefinition()
Retrieves a set containing all the elements for the reference featureDefinition. |
|
FeatureDefinition |
getFeatureDefinition(boolean qualifiedNameIsPersistent,
String qualifiedName)
Retrieves the value for the reference featureDefinition
for the specified qualifier attribute value. |
|
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
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static org.openmdx.base.jdo2.Segment.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
|
| Methods inherited from class org.openmdx.base.jdo2.Segment |
|---|
addToProvider, addToProvider, getDescription, getProvider, getView, 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 |
| 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 |
|---|
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 |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView, getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::openmdx::ui1::Segment
| Constructor Detail |
|---|
public Segment()
| Method Detail |
|---|
protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic <T extends FeatureDefinition> Collection<T> getFeatureDefinition()
featureDefinition.
public FeatureDefinition getFeatureDefinition(boolean qualifiedNameIsPersistent,
String qualifiedName)
featureDefinition
for the specified qualifier attribute value.
qualifiedNameIsPersistent - Defines whether value for the qualifier is persistent or notqualifiedName - The value for the qualifier attribute that qualifies this reference.
public void addFeatureDefinition(boolean qualifiedNameIsPersistent,
String qualifiedName,
FeatureDefinition featureDefinition)
featureDefinition.
Note: This is an extension to the JMI 1 standard.
qualifiedNameIsPersistent - true if qualifiedName is persistentqualifiedName - The qualifier attribute value that qualifies the reference to get the element to be appended.featureDefinition - The element to be appended.public <T extends ElementDefinition> Collection<T> getElementDefinition()
elementDefinition.
public ElementDefinition getElementDefinition(boolean nameIsPersistent,
String name)
elementDefinition
for the specified qualifier attribute value.
nameIsPersistent - Defines whether value for the qualifier is persistent or notname - The value for the qualifier attribute that qualifies this reference.
public void addElementDefinition(boolean nameIsPersistent,
String name,
ElementDefinition elementDefinition)
elementDefinition.
Note: This is an extension to the JMI 1 standard.
nameIsPersistent - true if name is persistentname - The qualifier attribute value that qualifies the reference to get the element to be appended.elementDefinition - The element to be appended.public <T extends Element> Collection<T> getElement()
element.
public Element getElement(boolean idIsPersistent,
String id)
element for the
specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addElement(boolean idIsPersistent,
String id,
Element element)
element.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.element - The element to be appended.public org.openmdx.base.cci2.Void assertInspector(String forClass)
public <T extends AssertableInspector> Collection<T> getAssertableInspector()
assertableInspector.
public AssertableInspector getAssertableInspector(boolean nameIsPersistent,
String name)
assertableInspector
for the specified qualifier attribute value.
nameIsPersistent - Defines whether value for the qualifier is persistent or notname - The value for the qualifier attribute that qualifies this reference.
public SegmentExportElementsResult exportElements(boolean includeAutoGenerated)
protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class org.openmdx.base.jdo2.SegmentSegment.CLASS
public static org.openmdx.base.jdo2.Segment.Identity newIdentity(org.openmdx.base.cci2.Provider.Identity provider,
boolean qualifiedNameIsPersistent,
String qualifiedName)
public static org.openmdx.base.jdo2.Segment.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||