}
}
// get the good attribute node and check it
String strAttribute = vectAttribute.elementAt(3).toString();
if (memberNode != null) {
TreeNodeAttribute attributeNode = memberNode.getNodeAttribute(strAttribute);
if (attributeNode != null) {
// check this node
// check corresponding column of this node
m_model.setValueAt(new Boolean(true), attributeNode, 1);
// add this node in vector selectedNodes
vectSelectedNodes.add(attributeNode);
}
}
}
}
/** Create all families */
/** Create all members of the good family */
/** Check the good member node */
else {
// add families to domain node
domainNode.addFamilies();
domainNode.setBuilt(true);
// get family name
String strDeviceFamily = vectAttribute.elementAt(1).toString();
// get family node which contains member node
TreeNodeFamily familyNode = domainNode.getNodeFamily(strDeviceFamily);
if (familyNode != null) {
// add members to family node
familyNode.addMembers(true);
familyNode.setBuilt(true);
SpRecordingDevices.updateRecordabilityNodes(familyNode.children());
// get member node
String strDeviceMember = vectAttribute.elementAt(2).toString();
memberNode = familyNode.getNodeMember(strDeviceMember);
if (memberNode != null) {
TreeNodeAttribute attributeNode = memberNode.getNodeAttribute(vectAttribute
.elementAt(3).toString());
if (attributeNode != null) {
// check this node
// check corresponding column of this node
m_model.setValueAt(new Boolean(true), attributeNode, 1);