Package com.progress.open4gl
Class ProDataGraphMetaData
java.lang.Object
com.progress.open4gl.dynamicapi.MetaDataBase
com.progress.open4gl.dynamicapi.DataGraphMetaData
com.progress.open4gl.ProDataGraphMetaData
- All Implemented Interfaces:
Serializable
Allows the client to access as well as specify schema for a ProDataGraph that
describes a 4GL ProDataSet.
- See Also:
-
Field Summary
Fields inherited from class com.progress.open4gl.dynamicapi.DataGraphMetaData
m_CodePage, m_domdi, m_drmd, m_ExtendedProperties, m_Flag, m_InOut, m_isMappedTempTable, m_ParmNum, m_ProDataGraphName, m_TableCount, m_tableNames, m_uniqueId, m_XMLNamespace, m_XMLPrefix -
Constructor Summary
ConstructorsConstructorDescriptionProDataGraphMetaData(int id) ProDataGraphMetaData(int id, String dataGraphName, int parmNum, int inOut) ProDataGraphMetaData(commonj.sdo.DataGraph dg, String dgName, ProDataRelationMetaData[] dataRelList) ProDataGraphMetaData(String dataGraphName) Creates a ProDataGraphMetaData.ProDataGraphMetaData(Element schemaElement) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a ProDataRelationMetaData definition to the ProDataGraphMetaData object.voidaddTable(ProDataObjectMetaData doMetaData) Adds the schema definition of a ProDataObject (temp-table) to the ProDataGraphMetaData object.intintgetRelationMetaData(int idx) getRelationMetaData(String dataRelName) intgetTableIndex(String tableName) String[]protected Nodeprotected booleanhasError()Methods inherited from class com.progress.open4gl.dynamicapi.DataGraphMetaData
getCodePage, getExtendedProperties, getFlag, getInOut, getParmNum, getProDataGraphMetaData, getProDataGraphName, getProDataObjectMetaDataIndicator, getTableMetaData, getTableMetaData, getXMLNamespace, getXMLPrefix, isMappedTempTable, setCodePage, setExtendedProperties, setFlag, setInOut, setIsMappedTempTable, setParmNum, setProDataGraphName, setProDataObjectMetaDataIndicator, setProDataRelationMetaData, setXMLNamespace, setXMLPrefix, validateMethods inherited from class com.progress.open4gl.dynamicapi.MetaDataBase
getTypeCode
-
Constructor Details
-
ProDataGraphMetaData
public ProDataGraphMetaData(int id) -
ProDataGraphMetaData
-
ProDataGraphMetaData
Creates a ProDataGraphMetaData.- Parameters:
dataGraphName-
-
ProDataGraphMetaData
-
ProDataGraphMetaData
public ProDataGraphMetaData(commonj.sdo.DataGraph dg, String dgName, ProDataRelationMetaData[] dataRelList) throws ProDataException, Open4GLException - Throws:
ProDataExceptionOpen4GLException
-
ProDataGraphMetaData
- Throws:
ProDataException
-
-
Method Details
-
addTable
Adds the schema definition of a ProDataObject (temp-table) to the ProDataGraphMetaData object.- Parameters:
doMetaData- metadata for a ProDataObject
-
addDataRelation
Adds a ProDataRelationMetaData definition to the ProDataGraphMetaData object.- Overrides:
addDataRelationin classDataGraphMetaData- Parameters:
drmd- Describes parent-child relationship for 2 ProDataObjects within the ProDataGraph
-
getRelationMetaData
-
getRelationMetaData
- Parameters:
idx- 0-based index into data relation list- Returns:
- ProDataRelationMetaData object of specified data relation
-
getRelationMetaData
- Parameters:
dataRelName- Name of ProDataRelationMetaData object- Returns:
- ProDataRelationMetaData object of specified data relation
-
getNumRelations
public int getNumRelations()- Returns:
- Number of ProDataRelationMetaData objects in this ProDataGraphMetaData object.
-
getNumTables
public int getNumTables()- Returns:
- Number of tables (or ProDataObjectMetaData) in this ProDataGraphMetaData object.
-
getTableNames
- Returns:
- String array of the table names of each ProDataObjectMetaData in this ProDataGraphMetaData object.
-
getTableIndex
- Overrides:
getTableIndexin classDataGraphMetaData- Throws:
Open4GLException
-
hasError
protected boolean hasError()- Overrides:
hasErrorin classDataGraphMetaData
-
getDataGraphName
-
getXMLSchemaNode
- Throws:
ProDataException
-