org.openmdx.ui1.jdo2
Class FeatureDefinition

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.ui1.jdo2.FeatureDefinition
All Implemented Interfaces:
Serializable, FeatureDefinition
Direct Known Subclasses:
OperationDefinition, StructuralFeatureDefinition

public class FeatureDefinition
extends org.w3c.jdo2.AbstractObject
implements FeatureDefinition

Abstract class FeatureDefinition

See Also:
Serialized Form

Nested Class Summary
static class FeatureDefinition.Identity
          The object's application identity
static class FeatureDefinition.Slice
           
 
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>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::openmdx::ui1::FeatureDefinition
 
Constructor Summary
FeatureDefinition()
           
 
Method Summary
static FeatureDefinition.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean qualifiedNameIsPersistent, String qualifiedName)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static org.w3c.cci2.CloseableCollection<FeatureDefinition> openmdxjdoGetObjectsByParent(Segment segment)
          Navigate through an object's composite association
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean qualifiedNameIsPersistent, String qualifiedName)
          Set the object's composite association org:openmdx:ui1:SegmentContainsFeatureDefinition.
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSize, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoSetSize, 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
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::openmdx::ui1::FeatureDefinition


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
FeatureDefinition.CLASS
Constructor Detail

FeatureDefinition

public FeatureDefinition()
Method Detail

openmdxjdoGetObjectId

protected String openmdxjdoGetObjectId()
Retrieve the object's JDO identity key

Specified by:
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiable
Returns:
the value of the object's JDO identity key

openmdxjdoGetSlices

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

openmdxjdoGetClass

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

Returns:
the model class
See Also:
FeatureDefinition.CLASS

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Specified by:
setSegment in interface FeatureDefinition
Parameters:
segment - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

public static org.w3c.cci2.CloseableCollection<FeatureDefinition> openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association


setSegment

public void setSegment(Segment segment,
                       boolean qualifiedNameIsPersistent,
                       String qualifiedName)
Set the object's composite association org:openmdx:ui1:SegmentContainsFeatureDefinition.

Specified by:
setSegment in interface FeatureDefinition
Parameters:
segment - The non-null new value for this object's composite owner.
qualifiedNameIsPersistent - Defines whether the qualifiedName is persistent.
qualifiedName - The non-null new value for this object's qualifier.

newIdentity

public static FeatureDefinition.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                                     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.