org.openmdx.ui1.jdo2
Class StructuralFeatureDefinition

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

public class StructuralFeatureDefinition
extends FeatureDefinition
implements StructuralFeatureDefinition

Class StructuralFeatureDefinition

See Also:
Serialized Form

Nested Class Summary
static class StructuralFeatureDefinition.Slice
          Slice object hold the StructuralFeatureDefinition's multivalued attributes
 
Nested classes/interfaces inherited from class org.openmdx.ui1.jdo2.FeatureDefinition
FeatureDefinition.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.ui1.cci2.FeatureDefinition
FeatureDefinition.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::openmdx::ui1::StructuralFeatureDefinition
 
Fields inherited from class org.openmdx.ui1.jdo2.FeatureDefinition
BASE_CLASS
 
Constructor Summary
StructuralFeatureDefinition()
           
 
Method Summary
 String getMultiplicity()
          Retrieves the value for the attribute multiplicity.
 String getType()
          Retrieves the value for the attribute type.
 boolean isChangeable()
          Retrieves the value for the attribute changeable.
 Boolean isReference()
          Retrieves the possibly null value for the optional attribute isReference.
static FeatureDefinition.Identity newIdentity(org.openmdx.base.cci2.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)
           
static FeatureDefinition.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 void setChangeable(boolean changeable)
          Sets a new value for the attribute changeable.
 void setMultiplicity(String multiplicity)
          Sets a new value for the attribute multiplicity.
 void setReference(Boolean isReference)
          Sets a new value for the attribute isReference.
 void setType(String type)
          Sets a new value for the attribute type.
 
Methods inherited from class org.openmdx.ui1.jdo2.FeatureDefinition
addToSegment, addToSegment, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices
 
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
 

Field Detail

CLASS

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

Constructor Detail

StructuralFeatureDefinition

public StructuralFeatureDefinition()
Method Detail

getMultiplicity

public String getMultiplicity()
Retrieves the value for the attribute multiplicity.

Specified by:
getMultiplicity in interface StructuralFeatureDefinition
Returns:
The non-null value for attribute multiplicity.

setMultiplicity

public void setMultiplicity(String multiplicity)
Sets a new value for the attribute multiplicity.

Specified by:
setMultiplicity in interface StructuralFeatureDefinition
Parameters:
multiplicity - The non-null new value for attribute multiplicity.

isReference

public final Boolean isReference()
Retrieves the possibly null value for the optional attribute isReference.

Specified by:
isReference in interface StructuralFeatureDefinition
Returns:
The possibly null value for attribute isReference.

setReference

public void setReference(Boolean isReference)
Sets a new value for the attribute isReference.

Specified by:
setReference in interface StructuralFeatureDefinition
Parameters:
isReference - The possibly null new value for attribute isReference.

getType

public String getType()
Retrieves the value for the attribute type.

Specified by:
getType in interface StructuralFeatureDefinition
Returns:
The non-null value for attribute type.

setType

public void setType(String type)
Sets a new value for the attribute type.

Specified by:
setType in interface StructuralFeatureDefinition
Parameters:
type - The non-null new value for attribute type.

isChangeable

public boolean isChangeable()
Retrieves the value for the attribute changeable.

Specified by:
isChangeable in interface StructuralFeatureDefinition
Returns:
The non-null value for attribute changeable.

setChangeable

public void setChangeable(boolean changeable)
Sets a new value for the attribute changeable.

Specified by:
setChangeable in interface StructuralFeatureDefinition
Parameters:
changeable - The non-null new value for attribute changeable.

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 FeatureDefinition
Returns:
the model class
See Also:
StructuralFeatureDefinition.CLASS

newIdentity

public static FeatureDefinition.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                                     boolean qualifiedNameIsPersistent,
                                                     String qualifiedName)

openmdxjdoToIdentity

public static FeatureDefinition.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)


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