Package com.progress.open4gl.dynamicapi
Class DataObjectMetaData
java.lang.Object
com.progress.open4gl.dynamicapi.MetaDataBase
com.progress.open4gl.dynamicapi.DataObjectMetaData
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProDataObjectMetaData
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected booleanprotected intprotected intprotected ResultSetMetaDataprotected String -
Constructor Summary
ConstructorsConstructorDescriptionDataObjectMetaData(String tableName, int numFields, boolean bimageFlag, int numIndexes, String multiIxCols, String XMLNamespace, String XMLPrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildIndexesFromXML(NodeList uniqueIndexList, NodeList nonUniqueIndexList, boolean isMappedTempTable) protected Indexprotected intprotected intgetColumnExtent(int column) protected intintgetFieldExtent(int field) intgetFieldIndex(String name) protected StringgetFieldInitialValue(int field) protected StringgetFieldLabel(int field) protected StringgetFieldName(int field) protected intgetFlag()protected intgetFlag(int field) protected Stringintprotected Stringprotected intgetProColumnType(int column) protected intgetProFieldType(int field) protected ResultSetMetaDataprotected intgetUserOrder(int field) protected intgetXMLMapping(int field) booleanprotected voidvoidsetFieldDesc(int fieldNum, String name, int extent, int proType, int userOrder, int xmlMapping) voidsetFieldDesc(int fieldNum, String name, int extent, int proType, int userOrder, int xmlMapping, int flag) voidsetFieldDesc(int fieldNum, String name, int extent, int proType, int userOrder, int xmlMapping, int flag, String caption, String initValue) protected voidsetFieldInitialValue(int field, String initValue) protected voidsetFieldLabel(int field, String label) protected voidsetFlag(int flag) protected voidsetMultiIndexCols(String multiIxCols) protected voidsetNumIndexes(int numIndexes) voidsetPrimeUniqueName(String primeUniqueName) protected static booleanvalidate(int parmNum, ProDataObjectMetaData domd1, ProDataObjectMetaData domd2) protected booleanvalidateFld(int field) Methods inherited from class com.progress.open4gl.dynamicapi.MetaDataBase
getTypeCode
-
Field Details
-
m_rsmd
-
m_numFields
protected int m_numFields -
m_noSchemaMarshal
protected boolean m_noSchemaMarshal -
m_bufferName
-
m_numIndexes
protected int m_numIndexes -
m_flag
protected int m_flag -
m_tableErrorString
-
-
Constructor Details
-
DataObjectMetaData
-
-
Method Details
-
getResultSetMetaData
-
setFieldDesc
public void setFieldDesc(int fieldNum, String name, int extent, int proType, int userOrder, int xmlMapping) -
setFieldDesc
public void setFieldDesc(int fieldNum, String name, int extent, int proType, int userOrder, int xmlMapping, int flag) -
setFieldDesc
-
getFlag
protected int getFlag() -
setFlag
protected void setFlag(int flag) -
hasTableError
public boolean hasTableError() -
getColumnCount
protected int getColumnCount() -
getFieldCount
protected int getFieldCount() -
getXMLMapping
protected int getXMLMapping(int field) -
getUserOrder
protected int getUserOrder(int field) -
getProFieldType
- Throws:
ProDataException
-
getProColumnType
- Throws:
ProDataException
-
getColumnExtent
- Throws:
ProDataException
-
getFieldExtent
- Throws:
ProDataException
-
getFieldIndex
- Throws:
ProDataException
-
getFieldName
- Throws:
ProDataException
-
getFieldLabel
- Throws:
ProDataException
-
setFieldLabel
- Throws:
ProDataException
-
getFieldInitialValue
- Throws:
ProDataException
-
setFieldInitialValue
- Throws:
ProDataException
-
getFlag
protected int getFlag(int field) -
getPrimeUniqueName
-
setPrimeUniqueName
-
setNumIndexes
protected void setNumIndexes(int numIndexes) -
getMultiIndexCols
-
setMultiIndexCols
-
getNumIndexes
public int getNumIndexes() -
getIndexes
-
findIndex
-
buildIndexesFromXML
-
validateFld
protected boolean validateFld(int field) -
validate
protected static boolean validate(int parmNum, ProDataObjectMetaData domd1, ProDataObjectMetaData domd2) throws SchemaValidationException, ProDataException -
print
-