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 intprotected ProDataObjectMetaDataprotected commonj.sdo.Propertyprotected intprotected Stringprotected intprotected Stringprotected intprotected String[]protected int[]protected Stringprotected intprotected ProDataObjectMetaDataprotected commonj.sdo.Propertyprotected intprotected 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 TypeMethodDescriptionvoidfillChildRelation(ProDataObject parentDataObj, List<ProDataObject> childDOList) protected voidfillChildRelations(List<ProDataObject> parentDOList, List<ProDataObject> childDOList) commonj.sdo.Propertyprotected intgetFlag()protected StringgetPair(int pairNum) protected StringgetPair(int pairNum, int part) protected intgetPairIdx(int pairNum, int part) protected Stringcommonj.sdo.Propertybooleanprotected voidsetFlag(int value) protected voidprotected voidsetPairsList(String value) protected voidprotected booleanvalidate(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
-