congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EnergyConsumer.getId
Code IndexAdd Tabnine to your IDE (free)

How to use
getId
method
in
cim1.model.EnergyConsumer

Best Java code snippets using cim1.model.EnergyConsumer.getId (Showing top 9 results out of 315)

origin: com.powsybl/powsybl-cim1-model

message.append(this.getId());
message.append("\" is not consistent in this context:\n");
origin: com.powsybl/powsybl-cim1-model

errorMessage.append("EnergyConsumer ");
errorMessage.append("which ID has been initialized to : ");
errorMessage.append(getId());
LOGGER.error(errorMessage.toString());
LOGGER.error(e.toString(), e);
origin: com.powsybl/powsybl-cim1-model

newMap.put(newInstance.getId(), newInstance);
this.subsetsInstances.put(
    Subset.Equipment, newMap);
    .put(newInstance.getId(), newInstance);
origin: com.powsybl/powsybl-cim1-model

 xmlsw.writeEmptyElement(CIMURI.CIMURI,"LoadResponseCharacteristic.EnergyConsumer");
 xmlsw.writeAttribute(CIMModel.rdfURI, "resource", "#"
      + energyConsumer.getId());
} catch (XMLStreamException e) {
 StringBuilder errorMessage = new StringBuilder(
origin: com.powsybl/powsybl-cim1-model

xmlsw.writeAttribute(CIMModel.rdfURI, "ID", getId());
errorMessage.append("EnergyConsumer ");
errorMessage.append("which ID has been initialized to : ");
errorMessage.append(getId());
LOGGER.error(errorMessage.toString());
LOGGER.error(e.toString(), e);
errorMessage.append("EnergyConsumer ");
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, "EnergyConsumer");
  xmlsw.writeAttribute(CIMModel.rdfURI, "ID", getId());
  errorMessage.append("EnergyConsumer ");
  errorMessage.append("which ID has been initialized to : ");
  errorMessage.append(getId());
  errorMessage.append(" in the subset ");
  errorMessage.append("Equipment");
  errorMessage.append("EnergyConsumer ");
  errorMessage.append("which ID has been initialized to : ");
  errorMessage.append(getId());
  errorMessage.append(" in the subset ");
  errorMessage.append("Equipment");
origin: com.powsybl/powsybl-cim1-model

  errorMessage.append(idLoadResponse);
  errorMessage.append("\" in \"EnergyConsumer\" of id \"");
  errorMessage.append(this.getId());
  errorMessage.append("\" !");
  throw new LinkageException(errorMessage.toString());
errorMessage.append(idLoadResponse);
errorMessage.append("\" in \"EnergyConsumer\" of id \"");
errorMessage.append(this.getId());
errorMessage.append("\" !");
throw new LinkageException(errorMessage.toString());
origin: com.powsybl/powsybl-cim1-model

EnergyConsumer value = entry.getValue();
newEnergyConsumer = value;
this.id_EnergyConsumer.put(newEnergyConsumer.getId(),
    newEnergyConsumer);
this.allInstances.put(newEnergyConsumer.getId(),
    newEnergyConsumer);
  newMap.put(newEnergyConsumer.getId(),
      newEnergyConsumer);
  this.subsetsInstances.put(
      .put(newEnergyConsumer.getId(),
           newEnergyConsumer);
origin: com.powsybl/powsybl-cim1-model

newMap.put(newInstance.getId(), newInstance);
subsetsInstances
    .put(Subset.Equipment,
    .put(newInstance.getId(), newInstance);
origin: com.powsybl/powsybl-cim1-converter

  q = svpf.getQ();
} else {
  LOGGER.warn("No active and reactive power value for load {}", ec.getId());
LoadType loadType = ec.getId().contains("fict") ? LoadType.FICTITIOUS : LoadType.UNDEFINED;
cim1.modelEnergyConsumergetId

Popular methods of EnergyConsumer

  • <init>
    Copy constructor The associations with other objects are not copied
  • clearAssociations
    Utility to clear the associations of this class belonging to a specific subset
  • copyBase
    Utility to copy the "base" of an other instance of the same class This utility does not copy the ass
  • create
    Factory of the class
  • getLoadResponse
    Utility to return the "loadResponse"
  • getMessageForConsistency
    Utility in charge of creating the message when the class is not consistent within a specific context
  • getTerminals
  • removeFromUnresolved
  • setId
  • setLoadResponse
    Utility to set the "loadResponseValue"
  • writeClass
    Utility to return the content of this class into the CIM XML format
  • writeClass

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • String (java.lang)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now