Tabnine Logo
SType.getTypeId
Code IndexAdd Tabnine to your IDE (free)

How to use
getTypeId
method
in
org.opensingular.form.SType

Best Java code snippets using org.opensingular.form.SType.getTypeId (Showing top 8 results out of 315)

origin: org.opensingular/form-core

private void debugTypeHeaderNormalType(Appendable appendable) throws IOException {
  appendable.append("def ").append(getNameSimple()).append('@').append(Integer.toString(getTypeId()));
  if (superType == null || superType.getClass() != getClass()) {
    appendable.append(" (").append(getClass().getSimpleName());
    if (instanceClass != null && (superType == null || !instanceClass.equals(superType.instanceClass))) {
      appendable.append(":").append(instanceClass.getSimpleName());
    }
    appendable.append(")");
  }
}
origin: org.opensingular/singular-form-core

private void debugTypeHeaderNormalType(Appendable appendable) throws IOException {
  appendable.append("def ").append(getNameSimple()).append('@').append(Integer.toString(getTypeId()));
  if (superType == null || superType.getClass() != getClass()) {
    appendable.append(" (").append(getClass().getSimpleName());
    if (instanceClass != null && (superType == null || !instanceClass.equals(superType.instanceClass))) {
      appendable.append(":").append(instanceClass.getSimpleName());
    }
    appendable.append(")");
  }
}
origin: org.opensingular/form-core

private void appendNameAndId(Appendable appendable, SType<?> type) throws IOException {
  appendable.append(suppressPackage(type.getName())).append('@').append(Integer.toString(type.getTypeId()));
}
origin: org.opensingular/singular-form-core

/**
 * Pre-monta o contéudo do toString() e dá a chance às classes derivadas de acrescentar mais informação sobre
 * escrevendo-o.
 */
StringBuilder toStringInternal() {
  StringBuilder sb   = new StringBuilder();
  String        name = getClass().getName();
  if (name.startsWith(SInstance.class.getPackage().getName())) {
    sb.append(getClass().getSimpleName());
  } else {
    sb.append(getClass().getName());
  }
  sb.append('@').append(id);
  sb.append('(');
  sb.append("path=").append(getPathFull());
  sb.append("; type=");
  if (type != null) {
    sb.append(getType().getClass().getSimpleName()).append('@').append(getType().getTypeId());
  }
  return sb;
}
origin: org.opensingular/singular-form-core

private void appendNameAndId(Appendable appendable, SType<?> type) throws IOException {
  appendable.append(suppressPackage(type.getName())).append('@').append(Integer.toString(type.getTypeId()));
}
origin: org.opensingular/form-core

/**
 * Pre-monta o contéudo do toString() e dá a chance às classes derivadas de acrescentar mais informação sobre
 * escrevendo-o.
 */
StringBuilder toStringInternal() {
  StringBuilder sb   = new StringBuilder();
  String        name = getClass().getName();
  if (name.startsWith(SInstance.class.getPackage().getName())) {
    sb.append(getClass().getSimpleName());
  } else {
    sb.append(getClass().getName());
  }
  sb.append('@').append(id);
  sb.append('(');
  sb.append("path=").append(getPathFull());
  sb.append("; type=");
  if (getType() != null) {
    sb.append(getType().getClass().getSimpleName()).append('@').append(getType().getTypeId());
  }
  return sb;
}
origin: org.opensingular/singular-form-core

private void debugTypeHeaderAttribute(Appendable appendable) throws IOException {
  appendable.append("defAtt ").append(getNameSimple()).append('@').append(Integer.toString(getTypeId()));
  SType<?> owner = getAttrInternalRef().getOwner();
  if (owner != null && owner != getParentScope()) {
    appendable.append(" for ");
    appendNameAndId(appendable, owner);
  }
  if (isSelfReference()) {
    appendable.append(" (SELF)");
  }
}
origin: org.opensingular/form-core

private void debugTypeHeaderAttribute(Appendable appendable) throws IOException {
  appendable.append("defAtt ").append(getNameSimple()).append('@').append(Integer.toString(getTypeId()));
  SType<?> owner = getAttributeDefinitionInfo().getOwner();
  if (owner != null && owner != getParentScope()) {
    appendable.append(" for ");
    appendNameAndId(appendable, owner);
  }
  if (isSelfReference()) {
    appendable.append(" (SELF)");
  }
}
org.opensingular.formSTypegetTypeId

Javadoc

Retorna um identificador único do tipo dentro de um mesmo dicionário.

Popular methods of SType

  • asAtr
  • getNameSimple
  • getName
  • asAtrProvider
  • getAttributeValue
  • isList
    Verificar se o tipo é um tipo lista ( STypeList).
  • getValidators
  • withView
  • asAtrBootstrap
  • getInstanceClass
  • isComposite
    Verificar se o tipo é um tipo composto ( STypeComposite).
  • getDependentTypes
  • isComposite,
  • getDependentTypes,
  • getDictionary,
  • hasAttributeDefinedInHierarchy,
  • isDependentType,
  • isTypeOf,
  • newInstance,
  • addAttribute,
  • addDependentType,
  • addInstanceValidator

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onRequestPermissionsResult (Fragment)
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Runner (org.openjdk.jmh.runner)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text plugins
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