org.omg.model1.jdo2
Class Constraint
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.omg.model1.jdo2.Element
org.omg.model1.jdo2.Constraint
- All Implemented Interfaces:
- Serializable, Constraint, Element, BasicObject, ContextCapable, ExtentCapable, ViewCapable
public class Constraint
- extends Element
- implements Constraint
Class Constraint
- 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::Constraint |
| 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::Constraint
Constraint
public Constraint()
getExpression
public String getExpression()
- Retrieves the value for the attribute
expression.
- Specified by:
getExpression in interface Constraint
- Returns:
- The non-null value for attribute
expression.
setExpression
public void setExpression(String expression)
- Sets a new value for the attribute
expression.
- Specified by:
setExpression in interface Constraint
- Parameters:
expression - The non-null new value for attribute expression.
getEvaluationPolicy
public String getEvaluationPolicy()
- Retrieves the value for the attribute
evaluationPolicy.
- Specified by:
getEvaluationPolicy in interface Constraint
- Returns:
- The non-null value for attribute
evaluationPolicy.
setEvaluationPolicy
public void setEvaluationPolicy(String evaluationPolicy)
- Sets a new value for the attribute
evaluationPolicy.
- Specified by:
setEvaluationPolicy in interface Constraint
- Parameters:
evaluationPolicy - The non-null new value for attribute evaluationPolicy.
getLanguage
public String getLanguage()
- Retrieves the value for the attribute
language.
- Specified by:
getLanguage in interface Constraint
- Returns:
- The non-null value for attribute
language.
setLanguage
public void setLanguage(String language)
- Sets a new value for the attribute
language.
- Specified by:
setLanguage in interface Constraint
- Parameters:
language - The non-null new value for attribute language.
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:
Constraint.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.