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

java.lang.Object
  extended by org.netbeans.modules.schema2beans.BaseBean
      extended by 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
static String CMP_FIELD_MAPPING
           
static String CMR_FIELD_MAPPING
           
static String CONSISTENCY
           
static String EJB_NAME
           
static String SECONDARY_TABLE
           
static String TABLE_NAME
           
 
Fields inherited from class org.netbeans.modules.schema2beans.BaseBean
binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
 
Constructor Summary
EntityMapping()
           
EntityMapping(int options)
           
 
Method Summary
 int addCmpFieldMapping(CmpFieldMapping value)
           
 int addCmrFieldMapping(CmrFieldMapping value)
           
static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 int addSecondaryTable(SecondaryTable value)
           
 void dump(StringBuffer str, String indent)
           
 String dumpBeanNode()
           
 CmpFieldMapping[] getCmpFieldMapping()
           
 CmpFieldMapping getCmpFieldMapping(int index)
           
 CmrFieldMapping[] getCmrFieldMapping()
           
 CmrFieldMapping getCmrFieldMapping(int index)
           
 Consistency getConsistency()
           
 String getEjbName()
           
 SecondaryTable[] getSecondaryTable()
           
 SecondaryTable getSecondaryTable(int index)
           
 String getTableName()
           
 CmpFieldMapping newCmpFieldMapping()
          Create a new bean using it's default constructor.
 CmrFieldMapping newCmrFieldMapping()
          Create a new bean using it's default constructor.
 Consistency newConsistency()
          Create a new bean using it's default constructor.
 SecondaryTable newSecondaryTable()
          Create a new bean using it's default constructor.
 int removeCmpFieldMapping(CmpFieldMapping value)
           
 int removeCmrFieldMapping(CmrFieldMapping value)
           
static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 int removeSecondaryTable(SecondaryTable value)
           
 void setCmpFieldMapping(CmpFieldMapping[] value)
           
 void setCmpFieldMapping(int index, CmpFieldMapping value)
           
 void setCmrFieldMapping(CmrFieldMapping[] value)
           
 void setCmrFieldMapping(int index, CmrFieldMapping value)
           
 void setConsistency(Consistency value)
           
 void setEjbName(String value)
           
 void setSecondaryTable(int index, SecondaryTable value)
           
 void setSecondaryTable(SecondaryTable[] value)
           
 void setTableName(String value)
           
 int sizeCmpFieldMapping()
           
 int sizeCmrFieldMapping()
           
 int sizeSecondaryTable()
           
 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

EJB_NAME

public static final String EJB_NAME
See Also:
Constant Field Values

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

CMP_FIELD_MAPPING

public static final String CMP_FIELD_MAPPING
See Also:
Constant Field Values

CMR_FIELD_MAPPING

public static final String CMR_FIELD_MAPPING
See Also:
Constant Field Values

SECONDARY_TABLE

public static final String SECONDARY_TABLE
See Also:
Constant Field Values

CONSISTENCY

public static final String CONSISTENCY
See Also:
Constant Field Values
Constructor Detail

EntityMapping

public EntityMapping()

EntityMapping

public EntityMapping(int options)
Method Detail

setEjbName

public void setEjbName(String value)

getEjbName

public String getEjbName()

setTableName

public void setTableName(String value)

getTableName

public String getTableName()

setCmpFieldMapping

public void setCmpFieldMapping(int index,
                               CmpFieldMapping value)

getCmpFieldMapping

public CmpFieldMapping getCmpFieldMapping(int index)

sizeCmpFieldMapping

public int sizeCmpFieldMapping()

setCmpFieldMapping

public void setCmpFieldMapping(CmpFieldMapping[] value)

getCmpFieldMapping

public CmpFieldMapping[] getCmpFieldMapping()

addCmpFieldMapping

public int addCmpFieldMapping(CmpFieldMapping value)

removeCmpFieldMapping

public int removeCmpFieldMapping(CmpFieldMapping value)

setCmrFieldMapping

public void setCmrFieldMapping(int index,
                               CmrFieldMapping value)

getCmrFieldMapping

public CmrFieldMapping getCmrFieldMapping(int index)

sizeCmrFieldMapping

public int sizeCmrFieldMapping()

setCmrFieldMapping

public void setCmrFieldMapping(CmrFieldMapping[] value)

getCmrFieldMapping

public CmrFieldMapping[] getCmrFieldMapping()

addCmrFieldMapping

public int addCmrFieldMapping(CmrFieldMapping value)

removeCmrFieldMapping

public int removeCmrFieldMapping(CmrFieldMapping value)

setSecondaryTable

public void setSecondaryTable(int index,
                              SecondaryTable value)

getSecondaryTable

public SecondaryTable getSecondaryTable(int index)

sizeSecondaryTable

public int sizeSecondaryTable()

setSecondaryTable

public void setSecondaryTable(SecondaryTable[] value)

getSecondaryTable

public SecondaryTable[] getSecondaryTable()

addSecondaryTable

public int addSecondaryTable(SecondaryTable value)

removeSecondaryTable

public int removeSecondaryTable(SecondaryTable value)

setConsistency

public void setConsistency(Consistency value)

getConsistency

public Consistency getConsistency()

newCmpFieldMapping

public CmpFieldMapping newCmpFieldMapping()
Create a new bean using it's default constructor. This does not add it to any bean graph.


newCmrFieldMapping

public CmrFieldMapping newCmrFieldMapping()
Create a new bean using it's default constructor. This does not add it to any bean graph.


newSecondaryTable

public SecondaryTable newSecondaryTable()
Create a new bean using it's default constructor. This does not add it to any bean graph.


newConsistency

public Consistency 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

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. All Rights Reserved.