* @param strParentName the parent name
* @param strParentType the parent type
*/
public void createSTATEonCPT(EDBUnit lastCPT, EDBUnit pStates, String strParentName, String strParentType){
//finding last row of CPT EX) ROOT.NODES.Child.CPT.5
EDBUnit lastCPTISA = lastCPT.getRel("ISA");
if(lastCPTISA != null && lastCPTISA.map.size() != 0 ){
for( String str : lastCPTISA.map.keySet() ){
EDBUnit t = lastCPTISA.map.get(str);
createSTATEonCPT(t, pStates, strParentName, strParentType);
}
}
else{//this is the last row
FindNextParentState(lastCPT, pStates, strParentName, strParentType);