Class SunCmpMapping
- java.lang.Object
-
- org.netbeans.modules.schema2beans.BaseBean
-
- com.sun.jdo.api.persistence.mapping.ejb.beans.SunCmpMapping
-
- All Implemented Interfaces:
Cloneable
,org.netbeans.modules.schema2beans.Bean
public class SunCmpMapping extends org.netbeans.modules.schema2beans.BaseBean
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_MAPPING
static String
SCHEMA
-
Constructor Summary
Constructors Constructor Description SunCmpMapping()
SunCmpMapping(int options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
int
addEntityMapping(EntityMapping value)
void
dump(StringBuffer str, String indent)
String
dumpBeanNode()
EntityMapping[]
getEntityMapping()
EntityMapping
getEntityMapping(int index)
String
getSchema()
EntityMapping
newEntityMapping()
Create a new bean using it's default constructor.static void
removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
int
removeEntityMapping(EntityMapping value)
void
setEntityMapping(int index, EntityMapping value)
void
setEntityMapping(EntityMapping[] value)
void
setSchema(String value)
int
sizeEntityMapping()
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
-
-
-
-
Field Detail
-
SCHEMA
public static final String SCHEMA
- See Also:
- Constant Field Values
-
ENTITY_MAPPING
public static final String ENTITY_MAPPING
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSchema
public void setSchema(String value)
-
getSchema
public String getSchema()
-
setEntityMapping
public void setEntityMapping(int index, EntityMapping value)
-
getEntityMapping
public EntityMapping getEntityMapping(int index)
-
sizeEntityMapping
public int sizeEntityMapping()
-
setEntityMapping
public void setEntityMapping(EntityMapping[] value)
-
getEntityMapping
public EntityMapping[] getEntityMapping()
-
addEntityMapping
public int addEntityMapping(EntityMapping value)
-
removeEntityMapping
public int removeEntityMapping(EntityMapping value)
-
newEntityMapping
public EntityMapping newEntityMapping()
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 classorg.netbeans.modules.schema2beans.BaseBean
-
dumpBeanNode
public String dumpBeanNode()
- Overrides:
dumpBeanNode
in classorg.netbeans.modules.schema2beans.BaseBean
-
-