message.append(this.getId()); message.append("\" is not consistent in this context:\n");
errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); LOGGER.error(errorMessage.toString()); LOGGER.error(e.toString(), e); errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); errorMessage.append(" in the subset "); errorMessage.append("Equipment");
xmlsw.writeEmptyElement(CIMURI.CIMURI,"SubGeographicalRegion.Substations"); xmlsw.writeAttribute(CIMModel.rdfURI, "resource", "#" + substations.getId()); } catch (XMLStreamException e) { StringBuilder errorMessage = new StringBuilder(
this.idMemberOf_Substation = memberOf_SubstationAssociation.getId();
xmlsw.writeAttribute(CIMModel.rdfURI, "ID", getId()); errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); LOGGER.error(errorMessage.toString()); LOGGER.error(e.toString(), e); errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); LOGGER.error(errorMessage.toString()); LOGGER.error(e.toString(), e); try { xmlsw.writeStartElement(CIMURI.CIMURI, "Substation"); xmlsw.writeAttribute(CIMModel.rdfURI, "ID", getId()); errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); errorMessage.append(" in the subset "); errorMessage.append("Equipment"); errorMessage.append("Substation "); errorMessage.append("which ID has been initialized to : "); errorMessage.append(getId()); errorMessage.append(" in the subset "); errorMessage.append("Equipment");
errorMessage.append(idRegion); errorMessage.append("\" in \"Substation\" of id \""); errorMessage.append(this.getId()); errorMessage.append("\" !"); throw new LinkageException(errorMessage.toString()); errorMessage.append(idRegion); errorMessage.append("\" in \"Substation\" of id \""); errorMessage.append(this.getId()); errorMessage.append("\" !"); throw new LinkageException(errorMessage.toString());
Substation value = entry.getValue(); newSubstation = value; this.id_Substation.put(newSubstation.getId(), newSubstation); this.allInstances.put(newSubstation.getId(), newSubstation); newMap.put(newSubstation.getId(), newSubstation); this.subsetsInstances.put( .put(newSubstation.getId(), newSubstation);
substationsNotAssociatedToValidCountry.add(s.getId()); country = config.getDefaultCountry();