Class EntityMapping
java.lang.Object
org.netbeans.modules.schema2beans.BaseBean
com.sun.jdo.api.persistence.mapping.ejb.beans.EntityMapping
- All Implemented Interfaces:
Cloneable,org.netbeans.modules.schema2beans.Bean
public class EntityMapping
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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptionintintstatic voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c) intaddSecondaryTable(SecondaryTable value) voiddump(StringBuffer str, String indent) getCmpFieldMapping(int index) getCmrFieldMapping(int index) getSecondaryTable(int index) Create a new bean using it's default constructor.Create a new bean using it's default constructor.Create a new bean using it's default constructor.Create a new bean using it's default constructor.intintstatic voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c) intvoidsetCmpFieldMapping(int index, CmpFieldMapping value) voidsetCmpFieldMapping(CmpFieldMapping[] value) voidsetCmrFieldMapping(int index, CmrFieldMapping value) voidsetCmrFieldMapping(CmrFieldMapping[] value) voidsetConsistency(Consistency value) voidsetEjbName(String value) voidsetSecondaryTable(int index, SecondaryTable value) voidsetSecondaryTable(SecondaryTable[] value) voidsetTableName(String value) intintintvoidvalidate()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
-
EJB_NAME
- See Also:
-
TABLE_NAME
- See Also:
-
CMP_FIELD_MAPPING
- See Also:
-
CMR_FIELD_MAPPING
- See Also:
-
SECONDARY_TABLE
- See Also:
-
CONSISTENCY
- See Also:
-
-
Constructor Details
-
EntityMapping
public EntityMapping() -
EntityMapping
public EntityMapping(int options)
-
-
Method Details
-
setEjbName
-
getEjbName
-
setTableName
-
getTableName
-
setCmpFieldMapping
-
getCmpFieldMapping
-
sizeCmpFieldMapping
public int sizeCmpFieldMapping() -
setCmpFieldMapping
-
getCmpFieldMapping
-
addCmpFieldMapping
-
removeCmpFieldMapping
-
setCmrFieldMapping
-
getCmrFieldMapping
-
sizeCmrFieldMapping
public int sizeCmrFieldMapping() -
setCmrFieldMapping
-
getCmrFieldMapping
-
addCmrFieldMapping
-
removeCmrFieldMapping
-
setSecondaryTable
-
getSecondaryTable
-
sizeSecondaryTable
public int sizeSecondaryTable() -
setSecondaryTable
-
getSecondaryTable
-
addSecondaryTable
-
removeSecondaryTable
-
setConsistency
-
getConsistency
-
newCmpFieldMapping
Create a new bean using it's default constructor. This does not add it to any bean graph. -
newCmrFieldMapping
Create a new bean using it's default constructor. This does not add it to any bean graph. -
newSecondaryTable
Create a new bean using it's default constructor. This does not add it to any bean graph. -
newConsistency
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
- Specified by:
dumpin classorg.netbeans.modules.schema2beans.BaseBean
-
dumpBeanNode
- Overrides:
dumpBeanNodein classorg.netbeans.modules.schema2beans.BaseBean
-