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

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

public class CmpFieldMapping
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
static java.lang.String COLUMN_NAME
           
static java.lang.String FETCHED_WITH
           
static java.lang.String FIELD_NAME
           
static java.lang.String READ_ONLY
           
 
Fields inherited from class org.netbeans.modules.schema2beans.BaseBean
binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
 
Constructor Summary
CmpFieldMapping()
           
CmpFieldMapping(int options)
           
 
Method Summary
 int addColumnName(java.lang.String value)
           
static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 void dump(java.lang.StringBuffer str, java.lang.String indent)
           
 java.lang.String dumpBeanNode()
           
 java.lang.String[] getColumnName()
           
 java.lang.String getColumnName(int index)
           
 FetchedWith getFetchedWith()
           
 java.lang.String getFieldName()
           
 boolean isReadOnly()
           
 FetchedWith newFetchedWith()
          Create a new bean using it's default constructor.
 int removeColumnName(java.lang.String value)
           
static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
           
 void setColumnName(int index, java.lang.String value)
           
 void setColumnName(java.lang.String[] value)
           
 void setFetchedWith(FetchedWith value)
           
 void setFieldName(java.lang.String value)
           
 void setReadOnly(boolean value)
           
 int sizeColumnName()
           
 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

FIELD_NAME

public static final java.lang.String FIELD_NAME
See Also:
Constant Field Values

COLUMN_NAME

public static final java.lang.String COLUMN_NAME
See Also:
Constant Field Values

READ_ONLY

public static final java.lang.String READ_ONLY
See Also:
Constant Field Values

FETCHED_WITH

public static final java.lang.String FETCHED_WITH
See Also:
Constant Field Values
Constructor Detail

CmpFieldMapping

public CmpFieldMapping()

CmpFieldMapping

public CmpFieldMapping(int options)
Method Detail

setFieldName

public void setFieldName(java.lang.String value)

getFieldName

public java.lang.String getFieldName()

setColumnName

public void setColumnName(int index,
                          java.lang.String value)

getColumnName

public java.lang.String getColumnName(int index)

sizeColumnName

public int sizeColumnName()

setColumnName

public void setColumnName(java.lang.String[] value)

getColumnName

public java.lang.String[] getColumnName()

addColumnName

public int addColumnName(java.lang.String value)

removeColumnName

public int removeColumnName(java.lang.String value)

setReadOnly

public void setReadOnly(boolean value)

isReadOnly

public boolean isReadOnly()

setFetchedWith

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

getFetchedWith

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

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(java.lang.StringBuffer str,
                 java.lang.String indent)
Specified by:
dump in class org.netbeans.modules.schema2beans.BaseBean

dumpBeanNode

public java.lang.String dumpBeanNode()
Overrides:
dumpBeanNode in class org.netbeans.modules.schema2beans.BaseBean


Copyright © 2012 GlassFish Community. All Rights Reserved.