Class SunCmpMappings
java.lang.Object
org.netbeans.modules.schema2beans.BaseBean
com.sun.jdo.api.persistence.mapping.ejb.beans.SunCmpMappings
- All Implemented Interfaces:
Cloneable,org.netbeans.modules.schema2beans.Bean
public class SunCmpMappings
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
FieldsFields inherited from class org.netbeans.modules.schema2beans.BaseBean
binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_setSchemaLocation(String location) static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c) intaddSunCmpMapping(SunCmpMapping value) static SunCmpMappingsstatic SunCmpMappingscreateGraph(File f) static SunCmpMappingsstatic SunCmpMappingscreateGraph(InputStream in, boolean validate) static SunCmpMappingscreateGraph(Node doc) voiddump(StringBuffer str, String indent) getSunCmpMapping(int index) protected voidinitFromNode(Node doc, int options) protected voidinitOptions(int options) Create a new bean using it's default constructor.static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c) intremoveSunCmpMapping(SunCmpMapping value) voidsetSunCmpMapping(int index, SunCmpMapping value) voidsetSunCmpMapping(SunCmpMapping[] value) intvoidvalidate()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
-
Field Details
-
SUN_CMP_MAPPING
- See Also:
-
-
Constructor Details
-
SunCmpMappings
public SunCmpMappings() throws org.netbeans.modules.schema2beans.Schema2BeansException- Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
SunCmpMappings
public SunCmpMappings(Node doc, int options) throws org.netbeans.modules.schema2beans.Schema2BeansException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
SunCmpMappings
public SunCmpMappings(int options)
-
-
Method Details
-
initFromNode
protected void initFromNode(Node doc, int options) throws org.netbeans.modules.schema2beans.Schema2BeansException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
initOptions
protected void initOptions(int options) -
setSunCmpMapping
-
getSunCmpMapping
-
sizeSunCmpMapping
public int sizeSunCmpMapping() -
setSunCmpMapping
-
getSunCmpMapping
-
addSunCmpMapping
-
removeSunCmpMapping
-
newSunCmpMapping
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) -
createGraph
public static SunCmpMappings createGraph(Node doc) throws org.netbeans.modules.schema2beans.Schema2BeansException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
createGraph
public static SunCmpMappings createGraph(File f) throws org.netbeans.modules.schema2beans.Schema2BeansException, IOException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansExceptionIOException
-
createGraph
public static SunCmpMappings createGraph(InputStream in) throws org.netbeans.modules.schema2beans.Schema2BeansException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
createGraph
public static SunCmpMappings createGraph(InputStream in, boolean validate) throws org.netbeans.modules.schema2beans.Schema2BeansException - Throws:
org.netbeans.modules.schema2beans.Schema2BeansException
-
createGraph
-
validate
public void validate() throws org.netbeans.modules.schema2beans.ValidateException- Throws:
org.netbeans.modules.schema2beans.ValidateException
-
_setSchemaLocation
-
_getSchemaLocation
-
dump
- Specified by:
dumpin classorg.netbeans.modules.schema2beans.BaseBean
-
dumpBeanNode
- Overrides:
dumpBeanNodein classorg.netbeans.modules.schema2beans.BaseBean
-