com.sun.jdo.api.persistence.mapping.ejb.beans
Class Consistency

java.lang.Object
  extended by org.netbeans.modules.schema2beans.BaseBean
      extended by com.sun.jdo.api.persistence.mapping.ejb.beans.Consistency
All Implemented Interfaces:
Cloneable, org.netbeans.modules.schema2beans.Bean

public class Consistency
extends org.netbeans.modules.schema2beans.BaseBean


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.schema2beans.BaseBean
org.netbeans.modules.schema2beans.BaseBean.IterateChoiceProperties
 
Field Summary
static String CHECK_ALL_AT_COMMIT
           
static String CHECK_ALL_AT_COMMIT2
           
static String CHECK_MODIFIED_AT_COMMIT
           
static String CHECK_VERSION_OF_ACCESSED_INSTANCES
           
static String LOCK_WHEN_LOADED
           
static String LOCK_WHEN_MODIFIED
           
static String NONE
           
 
Fields inherited from class org.netbeans.modules.schema2beans.BaseBean
binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
 
Constructor Summary
Consistency()
           
Consistency(int options)
           
 
Method Summary
static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 void dump(StringBuffer str, String indent)
           
 String dumpBeanNode()
           
 CheckVersionOfAccessedInstances getCheckVersionOfAccessedInstances()
           
 boolean isCheckAllAtCommit()
           
 boolean isCheckAllAtCommit2()
           
 boolean isCheckModifiedAtCommit()
           
 boolean isLockWhenLoaded()
           
 boolean isLockWhenModified()
           
 boolean isNone()
           
 CheckVersionOfAccessedInstances newCheckVersionOfAccessedInstances()
          Create a new bean using it's default constructor.
static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 void setCheckAllAtCommit(boolean value)
           
 void setCheckAllAtCommit2(boolean value)
           
 void setCheckModifiedAtCommit(boolean value)
           
 void setCheckVersionOfAccessedInstances(CheckVersionOfAccessedInstances value)
           
 void setLockWhenLoaded(boolean value)
           
 void setLockWhenModified(boolean value)
           
 void setNone(boolean value)
           
 void validate()
           
 
Methods inherited from class org.netbeans.modules.schema2beans.BaseBean
_getParent, _getRoot, _getXPathExpr, _getXPathExpr, _setChanged, addBeanComparator, addComment, addKnownValue, addPropertyChangeListener, addPropertyChangeListener, addValue, addValue, beanProp, beanProp, beanProp, beanProps, beanPropsIterator, buildPathName, changeDocType, childBeans, childBeans, clone, comments, copyProperty, createAttribute, createAttribute, createBean, createGraph, createGraph, createGraph, createGraph, createProperty, createProperty, createRoot, domBinding, dtdName, dumpAttributes, dumpDomNode, dumpDomNode, dumpDomNode, dumpXml, findAttributeValue, findPropertyValue, findValue, fullName, getAttributeNames, getAttributeNames, getAttributeValue, getAttributeValue, getAttributeValue, getDefaultNamespace, getProperty, getProperty, getValue, getValue, getValueById, getValues, graphManager, hasDomNode, hasName, idToIndex, indexOf, indexToId, init, initPropertyTables, isChoiceProperty, isChoiceProperty, isEqualTo, isNull, isNull, isRoot, knownValues, listAttributes, listAttributes, listChoiceProperties, listChoiceProperties, listProperties, merge, merge, mergeUpdate, name, nameChild, nameChild, nameChild, nameSelf, newInstance, parent, propertyById, reindent, reindent, removeBeanComparator, removeComment, removePropertyChangeListener, removePropertyChangeListener, removeValue, removeValue, removeValue, removeValue, setAttributeValue, setAttributeValue, setAttributeValue, setDefaultNamespace, setDomBinding, setGraphManager, setValue, setValue, setValue, setValue, setValueById, size, toString, write, write, write, write, write, writeNode, writeNoReindent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final String NONE
See Also:
Constant Field Values

CHECK_MODIFIED_AT_COMMIT

public static final String CHECK_MODIFIED_AT_COMMIT
See Also:
Constant Field Values

LOCK_WHEN_LOADED

public static final String LOCK_WHEN_LOADED
See Also:
Constant Field Values

CHECK_ALL_AT_COMMIT

public static final String CHECK_ALL_AT_COMMIT
See Also:
Constant Field Values

LOCK_WHEN_MODIFIED

public static final String LOCK_WHEN_MODIFIED
See Also:
Constant Field Values

CHECK_ALL_AT_COMMIT2

public static final String CHECK_ALL_AT_COMMIT2
See Also:
Constant Field Values

CHECK_VERSION_OF_ACCESSED_INSTANCES

public static final String CHECK_VERSION_OF_ACCESSED_INSTANCES
See Also:
Constant Field Values
Constructor Detail

Consistency

public Consistency()

Consistency

public Consistency(int options)
Method Detail

setNone

public void setNone(boolean value)

isNone

public boolean isNone()

setCheckModifiedAtCommit

public void setCheckModifiedAtCommit(boolean value)

isCheckModifiedAtCommit

public boolean isCheckModifiedAtCommit()

setLockWhenLoaded

public void setLockWhenLoaded(boolean value)

isLockWhenLoaded

public boolean isLockWhenLoaded()

setCheckAllAtCommit

public void setCheckAllAtCommit(boolean value)

isCheckAllAtCommit

public boolean isCheckAllAtCommit()

setLockWhenModified

public void setLockWhenModified(boolean value)

isLockWhenModified

public boolean isLockWhenModified()

setCheckAllAtCommit2

public void setCheckAllAtCommit2(boolean value)

isCheckAllAtCommit2

public boolean isCheckAllAtCommit2()

setCheckVersionOfAccessedInstances

public void setCheckVersionOfAccessedInstances(CheckVersionOfAccessedInstances value)

getCheckVersionOfAccessedInstances

public CheckVersionOfAccessedInstances getCheckVersionOfAccessedInstances()

newCheckVersionOfAccessedInstances

public CheckVersionOfAccessedInstances newCheckVersionOfAccessedInstances()
Create a new bean using it's default constructor. This does not add it to any bean graph.


addComparator

public static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)

removeComparator

public static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)

validate

public void validate()
              throws org.netbeans.modules.schema2beans.ValidateException
Throws:
org.netbeans.modules.schema2beans.ValidateException

dump

public void dump(StringBuffer str,
                 String indent)
Specified by:
dump in class org.netbeans.modules.schema2beans.BaseBean

dumpBeanNode

public String dumpBeanNode()
Overrides:
dumpBeanNode in class org.netbeans.modules.schema2beans.BaseBean


Copyright © 2012 GlassFish Community. All Rights Reserved.