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

java.lang.Object
  extended by org.netbeans.modules.schema2beans.BaseBean
      extended by 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
static String SUN_CMP_MAPPING
           
 
Fields inherited from class org.netbeans.modules.schema2beans.BaseBean
binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
 
Constructor Summary
SunCmpMappings()
           
SunCmpMappings(int options)
           
SunCmpMappings(Node doc, int options)
           
 
Method Summary
 String _getSchemaLocation()
           
 void _setSchemaLocation(String location)
           
static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 int addSunCmpMapping(SunCmpMapping value)
           
static SunCmpMappings createGraph()
           
static SunCmpMappings createGraph(File f)
           
static SunCmpMappings createGraph(InputStream in)
           
static SunCmpMappings createGraph(InputStream in, boolean validate)
           
static SunCmpMappings createGraph(Node doc)
           
 void dump(StringBuffer str, String indent)
           
 String dumpBeanNode()
           
 SunCmpMapping[] getSunCmpMapping()
           
 SunCmpMapping getSunCmpMapping(int index)
           
protected  void initFromNode(Node doc, int options)
           
protected  void initOptions(int options)
           
 SunCmpMapping newSunCmpMapping()
          Create a new bean using it's default constructor.
static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 int removeSunCmpMapping(SunCmpMapping value)
           
 void setSunCmpMapping(int index, SunCmpMapping value)
           
 void setSunCmpMapping(SunCmpMapping[] value)
           
 int sizeSunCmpMapping()
           
 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

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 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.