Package com.progress.open4gl.dynamicapi
Class DataRelationMetaData
java.lang.Object
com.progress.open4gl.dynamicapi.DataRelationMetaData
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProDataRelationMetaData
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected ProDataObjectMetaData
protected commonj.sdo.Property
protected int
protected String
protected int
protected String
protected int
protected String[]
protected int[]
protected String
protected int
protected ProDataObjectMetaData
protected commonj.sdo.Property
protected int
protected List<ProDataObject>
-
Constructor Summary
ConstructorsConstructorDescriptionDataRelationMetaData
(String linkname, int parentIx, int childIx, int numPairs, String pairsList) DataRelationMetaData
(String linkname, int parentIx, int childIx, int numPairs, String pairsList, int flag, String extendedProperties) DataRelationMetaData
(String linkname, ProDataObjectMetaData parentMetaData, ProDataObjectMetaData childMetaData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillChildRelation
(ProDataObject parentDataObj, List<ProDataObject> childDOList) protected void
fillChildRelations
(List<ProDataObject> parentDOList, List<ProDataObject> childDOList) commonj.sdo.Property
protected int
getFlag()
protected String
getPair
(int pairNum) protected String
getPair
(int pairNum, int part) protected int
getPairIdx
(int pairNum, int part) protected String
commonj.sdo.Property
boolean
protected void
setFlag
(int value) protected void
protected void
setPairsList
(String value) protected void
protected boolean
validate
(ProDataGraphMetaData dgmd)
-
Field Details
-
m_ChildIx
protected int m_ChildIx -
m_ParentIx
protected int m_ParentIx -
m_Flag
protected int m_Flag -
m_NumPairs
protected int m_NumPairs -
m_PairsList
-
m_PairsArray
-
m_PairsIdxArray
protected int[] m_PairsIdxArray -
m_LinkName
-
m_ExtendedProperties
-
m_ParentMetaData
-
m_ChildMetaData
-
m_ParentRef
protected commonj.sdo.Property m_ParentRef -
m_ChildRef
protected commonj.sdo.Property m_ChildRef -
m_ParentRefColIdx
protected int m_ParentRefColIdx -
m_ChildRefColIdx
protected int m_ChildRefColIdx -
m_ParentRows
-
-
Constructor Details
-
DataRelationMetaData
public DataRelationMetaData() -
DataRelationMetaData
public DataRelationMetaData(String linkname, ProDataObjectMetaData parentMetaData, ProDataObjectMetaData childMetaData) -
DataRelationMetaData
-
DataRelationMetaData
-
DataRelationMetaData
-
-
Method Details
-
getParentTable
- Returns:
- Parent's table name
-
getChildTable
- Returns:
- Child's table name
-
getPair
-
getPair
-
getPairIdx
protected int getPairIdx(int pairNum, int part) -
getChildFieldList
-
getParentFieldList
-
getFlag
protected int getFlag() -
setFlag
protected void setFlag(int value) -
isReposition
public boolean isReposition() -
getPairsList
-
setPairsList
-
getParentRef
public commonj.sdo.Property getParentRef() -
getChildRef
public commonj.sdo.Property getChildRef() -
setPairsIndexInfo
- Throws:
ProDataException
-
setTableIxs
- Throws:
Open4GLError
-
fillChildRelations
protected void fillChildRelations(List<ProDataObject> parentDOList, List<ProDataObject> childDOList) -
fillChildRelation
-
validate
- Throws:
Open4GLError
-