|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.database.fielddescriptors.FieldDescriptorCollection
Field Summary | |
static java.util.Comparator |
DISPLAY_ORDER_COMPARATOR
|
static java.util.Comparator |
NAME_COMPARATOR
|
static java.util.Comparator |
USAGE_ID_COMPARATOR
|
Constructor Summary | |
FieldDescriptorCollection()
FieldDescriptorCollection constructor comment. |
Method Summary | |
FieldDescriptorRow |
add(FieldDescriptorRow pFD)
Sets the Object with the specified key. |
FieldDescriptorRow |
add(FieldDescriptorRow pFD,
boolean pReplace)
Sets the Object with the specified key. |
FieldDescriptorRow |
add(TableDescriptor pTD,
boolean pReplace)
Sets the Object with the specified key. |
protected void |
clearLogicalFieldDescriptorPresent()
|
java.util.List |
get(java.lang.Class pFieldClass)
Returns a List FieldDescriptors with the that has a fieldClass which is equal or a subclass of pFieldClass |
FieldDescriptorRow |
get(java.lang.String pFieldName)
Returns the Object keyed by the given object. |
java.util.List |
getAutoIncrementFieldDescriptors()
Returns a List containing all the FieldDescriptorRow objects which describe Auto-Increment fields in the table |
static FieldDescriptorRow |
getFieldDescriptorById(int pId)
Gets a field descriptor by ID |
java.util.Iterator |
getFieldDescriptors()
Returns all the FieldDescriptors in an unmodifiable Iterator |
java.util.Iterator |
getFieldDescriptorsWithUsage()
Returns an Iterator for all field descriptors that have a usage ID |
java.util.List |
getFieldDescriptorsWithUsageId(int usageId)
Create and return a list of field descriptors in this collection that have the given usage id. |
FieldDescriptorRow |
getFieldDescriptorWithUsageId(int pUsageid)
Return the FieldDescriptorRow for the Field with the specified usage id. |
java.util.List |
getFieldNames()
Returns a List of the Field names for the Table. |
java.util.List |
getKeyFieldNames()
Returns a List of the Field names for the Table. |
java.util.List |
getLogicalFieldNames()
Returns a List of the Field names for the Table. |
java.util.List |
getOrderedFieldDescriptors()
Returns a list of the field descriptors in order they were added to this FieldDescriptorCollection Creation date: (6/3/2002 8:07:16 PM) |
java.util.List |
getPhysicalFieldNames()
Returns a List of the Field names for the Table. |
TableDescriptor |
getTableDescriptor()
Gets the table descriptor |
java.util.List |
getTableVariableFieldDescriptors()
Lists the field descriptors which describe table variable fields.. |
FieldDescriptorCollection |
invalidFieldDescriptors()
Sets all FieldDescriptors to invalid (or not current). |
boolean |
isEmpty()
Returns whether or not there are any FieldDescriptorRows in this FieldDescriptorCollection. |
boolean |
isLogicalFieldDescriptorPresent()
Tests if this collection of field descriptors contains one or more field descriptors which describe fields that are not physically present in the database. |
void |
remove(FieldDescriptorRow fd)
|
void |
resetLogicalFieldDescriptorPresent()
Resets the flag indicating if this field descriptor contains a logical field |
protected void |
setLogicalFieldDescriptorPresentInternal(java.lang.Boolean value)
Sets if this collection of field descriptors contains one or more field descriptors which describe fields that are not physically present in the database. |
int |
size()
Returns the number of FieldDescriptors in this collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.Comparator DISPLAY_ORDER_COMPARATOR
public static final java.util.Comparator NAME_COMPARATOR
public static final java.util.Comparator USAGE_ID_COMPARATOR
Constructor Detail |
public FieldDescriptorCollection()
Method Detail |
public FieldDescriptorRow add(FieldDescriptorRow pFD)
public FieldDescriptorRow add(FieldDescriptorRow pFD, boolean pReplace)
public FieldDescriptorRow add(TableDescriptor pTD, boolean pReplace)
protected void clearLogicalFieldDescriptorPresent()
public java.util.List get(java.lang.Class pFieldClass)
public FieldDescriptorRow get(java.lang.String pFieldName)
public java.util.List getAutoIncrementFieldDescriptors()
public static FieldDescriptorRow getFieldDescriptorById(int pId) throws CMException
pId
- The id of the FD to get
CMException
public java.util.Iterator getFieldDescriptors()
public java.util.Iterator getFieldDescriptorsWithUsage()
public java.util.List getFieldDescriptorsWithUsageId(int usageId)
usageId
- usage id to get field descriptors
public FieldDescriptorRow getFieldDescriptorWithUsageId(int pUsageid)
public java.util.List getFieldNames()
public java.util.List getKeyFieldNames()
public java.util.List getLogicalFieldNames()
public java.util.List getOrderedFieldDescriptors()
public java.util.List getPhysicalFieldNames()
public TableDescriptor getTableDescriptor()
public java.util.List getTableVariableFieldDescriptors()
public FieldDescriptorCollection invalidFieldDescriptors()
public boolean isEmpty()
public boolean isLogicalFieldDescriptorPresent()
public void remove(FieldDescriptorRow fd)
public void resetLogicalFieldDescriptorPresent()
protected final void setLogicalFieldDescriptorPresentInternal(java.lang.Boolean value)
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |