org.omg.model1.jdo2
Class StructureField
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.omg.model1.jdo2.Element
org.omg.model1.jdo2.StructureField
- All Implemented Interfaces:
- Serializable, Element, StructureField, TypedElement, BasicObject, ContextCapable, ExtentCapable, ViewCapable
public class StructureField
- extends Element
- implements StructureField
Class StructureField
- See Also:
- Serialized Form
| 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> |
CLASS
Define the model class org::omg::model1::StructureField |
| 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 |
CLASS
public static final List<String> CLASS
- Define the model class
org::omg::model1::StructureField
StructureField
public StructureField()
getMultiplicity
public String getMultiplicity()
- Retrieves the value for the attribute
multiplicity.
- Specified by:
getMultiplicity in interface StructureField
- 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 StructureField
- Parameters:
multiplicity - The non-null new value for attribute multiplicity.
getType
public Classifier getType()
- Retrieves the value for the reference
type.
- Specified by:
getType in interface TypedElement
- Returns:
- The non-
null value for this reference.
setType
public void setType(Classifier type)
- Sets a new value for the reference
type.
- Specified by:
setType in interface TypedElement
- Parameters:
type - The non-null new value for this reference.
getMaxLength
public int getMaxLength()
- Retrieves the value for the attribute
maxLength.
- Specified by:
getMaxLength in interface StructureField
- Returns:
- The non-null value for attribute
maxLength.
setMaxLength
public void setMaxLength(int maxLength)
- Sets a new value for the attribute
maxLength.
- Specified by:
setMaxLength in interface StructureField
- Parameters:
maxLength - The non-null new value for attribute maxLength.
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:
StructureField.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.