org.omg.model1.jdo2
Class Constraint

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.omg.model1.jdo2.Element
              extended by 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 Class Summary
static class Constraint.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::Constraint
 
Fields inherited from class org.omg.model1.jdo2.Element
BASE_CLASS
 
Constructor Summary
Constraint()
           
 
Method Summary
 String getEvaluationPolicy()
          Retrieves the value for the attribute evaluationPolicy.
 String getExpression()
          Retrieves the value for the attribute expression.
 String getLanguage()
          Retrieves the value for the attribute language.
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 setEvaluationPolicy(String evaluationPolicy)
          Sets a new value for the attribute evaluationPolicy.
 void setExpression(String expression)
          Sets a new value for the attribute expression.
 void setLanguage(String language)
          Sets a new value for the attribute language.
 
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

CLASS

public static final List<String> CLASS
Define the model class org::omg::model1::Constraint

Constructor Detail

Constraint

public Constraint()
Method Detail

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.