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
-
-
Field Summary
Fields Modifier and Type Field Description static String
SUN_CMP_MAPPING
-
Constructor Summary
Constructors Constructor Description SunCmpMappings()
SunCmpMappings(int options)
SunCmpMappings(Node doc, int options)
-
Method Summary
-
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 Detail
-
SUN_CMP_MAPPING
public static final String SUN_CMP_MAPPING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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
public void setSunCmpMapping(int index, SunCmpMapping value)
-
getSunCmpMapping
public SunCmpMapping getSunCmpMapping(int index)
-
sizeSunCmpMapping
public int sizeSunCmpMapping()
-
setSunCmpMapping
public void setSunCmpMapping(SunCmpMapping[] value)
-
getSunCmpMapping
public SunCmpMapping[] getSunCmpMapping()
-
addSunCmpMapping
public int addSunCmpMapping(SunCmpMapping value)
-
removeSunCmpMapping
public int removeSunCmpMapping(SunCmpMapping value)
-
newSunCmpMapping
public SunCmpMapping 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.Schema2BeansException
IOException
-
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
public static SunCmpMappings createGraph()
-
validate
public void validate() throws org.netbeans.modules.schema2beans.ValidateException
- Throws:
org.netbeans.modules.schema2beans.ValidateException
-
_setSchemaLocation
public void _setSchemaLocation(String location)
-
_getSchemaLocation
public String _getSchemaLocation()
-
dump
public void dump(StringBuffer str, String indent)
- Specified by:
dump
in classorg.netbeans.modules.schema2beans.BaseBean
-
dumpBeanNode
public String dumpBeanNode()
- Overrides:
dumpBeanNode
in classorg.netbeans.modules.schema2beans.BaseBean
-
-