congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ArchetypeReference.getIdTemplate
Code IndexAdd Tabnine to your IDE (free)

How to use
getIdTemplate
method
in
se.cambio.cds.model.instance.ArchetypeReference

Best Java code snippets using se.cambio.cds.model.instance.ArchetypeReference.getIdTemplate (Showing top 4 results out of 315)

origin: org.gdl-lang.gdl-tools/cds-core

public String getTemplateId() {
  if (getValue() != null) {
    return getValue().getIdTemplate();
  } else {
    return null;
  }
}
origin: org.gdl-lang.gdl-tools/cds-core

public Set<ArchetypeReference> getArchetypeReferences(ArchetypeReference archetypeReference) {
  String idDomain = archetypeReference.getIdDomain() != null ? archetypeReference.getIdDomain() : EMPTY_CODE;
  String idAux = null;
  if (Domains.CDS_ID.equals(idDomain)) {
    idAux = archetypeReference.getIdTemplate();
  }
  if (idAux == null) {
    idAux = EMPTY_CODE;
  }
  return getArchetypeReferences(archetypeReference.getIdArchetype(), idDomain, idAux);
}
origin: org.gdl-lang.gdl-tools/cds-gui-swing

public JLabel createLabelForElement(ElementInstance elementInstance, TermDefinition termDefinition) {
  ArchetypeElementVO archetypeElement =
      archetypeManager.getArchetypeElements().getArchetypeElement(
          elementInstance.getArchetypeReference().getIdTemplate(),
          elementInstance.getId());
  JLabel label;
origin: org.gdl-lang.gdl-tools/cds-gui-swing

private DVGenericPanel getDVGenericForElement(ElementInstance elementInstance) {
  String idTemplate = elementInstance.getArchetypeReference().getIdTemplate();
  String idElement = elementInstance.getId();
  ArchetypeElementVO archetypeElement =
      archetypeManager.getArchetypeElements().getArchetypeElement(
          idTemplate,
          idElement);
  String rmType = archetypeElement.getType();
  DVGenericPanel dvGenericPanel = dvPanelFactory.createDVPanel(idElement, idTemplate, rmType, true, true, false);
  if (dvGenericPanel != null) {
    dvGenericPanel.setDataValue(elementInstance.getDataValue());
  }
  return dvGenericPanel;
}
se.cambio.cds.model.instanceArchetypeReferencegetIdTemplate

Popular methods of ArchetypeReference

  • getElementInstancesMap
  • getIdDomain
  • <init>
  • clone
  • getIdArchetype

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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