Class CmrFieldMapping

java.lang.Object
org.netbeans.modules.schema2beans.BaseBean
com.sun.jdo.api.persistence.mapping.ejb.beans.CmrFieldMapping
All Implemented Interfaces:
HasFetchedWith, Cloneable, org.netbeans.modules.schema2beans.Bean

public class CmrFieldMapping extends org.netbeans.modules.schema2beans.BaseBean implements HasFetchedWith
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.netbeans.modules.schema2beans.BaseBean

    org.netbeans.modules.schema2beans.BaseBean.IterateChoiceProperties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class org.netbeans.modules.schema2beans.BaseBean

    binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    CmrFieldMapping(int options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    static void
    addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
     
    void
    dump(StringBuffer str, String indent)
     
     
     
     
    getColumnPair(int index)
     
     
    Create a new bean using it's default constructor.
    Create a new bean using it's default constructor.
    int
     
    static void
    removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
     
    void
     
    void
    setColumnPair(int index, ColumnPair value)
     
    void
     
    void
     
    int
     
    void
     

    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 Details

  • Constructor Details

    • CmrFieldMapping

      public CmrFieldMapping()
    • CmrFieldMapping

      public CmrFieldMapping(int options)
  • Method Details

    • setCmrFieldName

      public void setCmrFieldName(String value)
    • getCmrFieldName

      public String getCmrFieldName()
    • setColumnPair

      public void setColumnPair(int index, ColumnPair value)
    • getColumnPair

      public ColumnPair getColumnPair(int index)
    • sizeColumnPair

      public int sizeColumnPair()
    • setColumnPair

      public void setColumnPair(ColumnPair[] value)
    • getColumnPair

      public ColumnPair[] getColumnPair()
    • addColumnPair

      public int addColumnPair(ColumnPair value)
    • removeColumnPair

      public int removeColumnPair(ColumnPair value)
    • setFetchedWith

      public void setFetchedWith(FetchedWith value)
      Specified by:
      setFetchedWith in interface HasFetchedWith
    • getFetchedWith

      public FetchedWith getFetchedWith()
      Specified by:
      getFetchedWith in interface HasFetchedWith
    • newColumnPair

      public ColumnPair newColumnPair()
      Create a new bean using it's default constructor. This does not add it to any bean graph.
    • newFetchedWith

      public FetchedWith newFetchedWith()
      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