/** * Utility to read a reference to a resource * This function is called by the CIMModel * * @param class_name * the read name of class * @param resource_name * the read name of the associated resource * @param id * the id of the associated resource * @param model * the model this class belongs to * @throws InterpretationException */ @Override public void readResource(final String class_name, final String resource_name, final String id, CIMModel model) throws InterpretationException, LinkageException { if (class_name.equals("RegulatingCondEq")) { if (resource_name.equals("RegulatingControl")) { idRegulatingControl = id.substring(1); if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved(); } } } else { super.readResource(class_name, resource_name, id, model); } }
/** * Utility to read a reference to a resource * This function is called by the CIMModel * * @param class_name * the read name of class * @param resource_name * the read name of the associated resource * @param id * the id of the associated resource * @param model * the model this class belongs to * @throws InterpretationException */ @Override public void readResource(final String class_name, final String resource_name, final String id, CIMModel model) throws InterpretationException, LinkageException { if (class_name.equals("BusbarSection")) { if (resource_name.equals("VoltageControlZone")) { idVoltageControlZone = id.substring(1); if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved(); } } } else { super.readResource(class_name, resource_name, id, model); } }
if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved();
if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved(); if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved(); if (!super.isAddedToUnresolved()) { model.addUnresolved(); super.addToUnresolved();