|
||||||||||
| 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.omg.model1.jdo2.Element
org.omg.model1.jdo2.Attribute
public class Attribute
Class Attribute
| Nested Class Summary | |
|---|---|
static class |
Attribute.Slice
|
| Nested classes/interfaces inherited from class org.omg.model1.jdo2.Element |
|---|
Element.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.omg.model1.cci2.Element |
|---|
Element.Identity |
| Field Summary | |
|---|---|
static List<String> |
CLASS
Define the model class org::omg::model1::Attribute |
| Fields inherited from class org.omg.model1.jdo2.Element |
|---|
BASE_CLASS |
| Constructor Summary | |
|---|---|
Attribute()
|
|
| Method Summary | |
|---|---|
int |
getMaxLength()
Retrieves the value for the attribute maxLength. |
String |
getMultiplicity()
Retrieves the value for the attribute multiplicity. |
String |
getScope()
Retrieves the value for the attribute scope. |
Classifier |
getType()
Retrieves the value for the reference type. |
String |
getVisibility()
Retrieves the value for the attribute visibility. |
boolean |
isChangeable()
Retrieves the value for the attribute isChangeable. |
boolean |
isDerived()
Retrieves the value for the attribute isDerived. |
static Element.Identity |
newIdentity(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)
|
void |
setChangeable(boolean isChangeable)
Sets a new value for the attribute isChangeable. |
void |
setDerived(boolean isDerived)
Sets a new value for the attribute isDerived. |
void |
setMaxLength(int maxLength)
Sets a new value for the attribute maxLength. |
void |
setMultiplicity(String multiplicity)
Sets a new value for the attribute multiplicity. |
void |
setScope(String scope)
Sets a new value for the attribute scope. |
void |
setType(Classifier type)
Sets a new value for the reference type. |
void |
setVisibility(String visibility)
Sets a new value for the attribute visibility. |
| 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 |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::omg::model1::Attribute
| Constructor Detail |
|---|
public Attribute()
| Method Detail |
|---|
public String getScope()
scope.
getScope in interface Featurescope.public void setScope(String scope)
scope.
setScope in interface Featurescope - The non-null new value for attribute scope.public boolean isChangeable()
isChangeable.
isChangeable in interface StructuralFeatureisChangeable.public void setChangeable(boolean isChangeable)
isChangeable.
setChangeable in interface StructuralFeatureisChangeable - The non-null new value for attribute isChangeable.public boolean isDerived()
isDerived.
isDerived in interface AttributeisDerived.public void setDerived(boolean isDerived)
isDerived.
setDerived in interface AttributeisDerived - The non-null new value for attribute isDerived.public String getVisibility()
visibility.
getVisibility in interface Featurevisibility.public void setVisibility(String visibility)
visibility.
setVisibility in interface Featurevisibility - The non-null new value for attribute visibility.public String getMultiplicity()
multiplicity.
getMultiplicity in interface StructuralFeaturemultiplicity.public void setMultiplicity(String multiplicity)
multiplicity.
setMultiplicity in interface StructuralFeaturemultiplicity - The non-null new value for attribute multiplicity.public Classifier getType()
type.
getType in interface TypedElementnull value for this reference.public void setType(Classifier type)
type.
setType in interface TypedElementtype - The non-null new value for this reference.public int getMaxLength()
maxLength.
getMaxLength in interface AttributemaxLength.public void setMaxLength(int maxLength)
maxLength.
setMaxLength in interface AttributemaxLength - The non-null new value for attribute maxLength.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class Element
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class Elementprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class Elementprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class ElementAttribute.CLASS
public static Element.Identity newIdentity(Segment.Identity segment,
boolean qualifiedNameIsPersistent,
String qualifiedName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||