Codota Logo
SInstance.setParent
Code IndexAdd Codota to your IDE (free)

How to use
setParent
method
in
org.opensingular.form.SInstance

Best Java code snippets using org.opensingular.form.SInstance.setParent (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.opensingular/form-core

private E addInternal(E instance, boolean atEnd, int index) {
  if (values == null) {
    values = new ArrayList<>();
  }
  if (atEnd) {
    values.add(instance);
  } else {
    values.add(index, instance);
  }
  instance.setParent(this);
  instance.init();
  return instance;
}
origin: org.opensingular/singular-form-core

private E addInternal(E instance, boolean atEnd, int index) {
  if (values == null) {
    values = new ArrayList<>();
  }
  if (atEnd) {
    values.add(instance);
  } else {
    values.add(index, instance);
  }
  instance.setParent(this);
  invokeUpdateListeners();
  return instance;
}
origin: org.opensingular/singular-form-core

/**
 * Signals this Component that it is removed from the Component hierarchy.
 */
final void internalOnRemove() {
  removingInstance = true;
  onRemove();
  if (removingInstance) {
    throw new SingularFormException(SInstance.class.getName() + " não foi corretamente removido. Alguma classe na hierarquia de "
        + getClass().getName() + " não chamou super.onRemove() em algum método que sobreescreve onRemove()", this);
  }
  setParent(null);
  removeChildren();
}
origin: org.opensingular/form-core

/**
 * Signals this Component that it is removed from the Component hierarchy.
 */
final void internalOnRemove() {
  setFlag(InstanceFlags.REMOVENDO_INSTANCIA, true);
  onRemove();
  if (getFlag(InstanceFlags.REMOVENDO_INSTANCIA)) {
    throw new SingularFormException(SInstance.class.getName() + " não foi corretamente removido. Alguma classe na hierarquia de "
        + getClass().getName() + " não chamou super.onRemove() em algum método que sobreescreve onRemove()");
  }
  setParent(null);
  removeChildren();
}
origin: org.opensingular/singular-form-core

private SInstance createField(int fieldIndex) {
  SType<?> fieldType = getType().getField(fieldIndex);
  SInstance instance = fieldType.newInstance(getDocument());
  if (fields == null) {
    fields = new FieldMapOfRecordInstance(getType().size());
  }
  fields.set(fieldIndex, instance);
  instance.setParent(this);
  return instance;
}
origin: org.opensingular/form-core

private SInstance createField(int fieldIndex) {
  SType<?> fieldType = getType().getField(fieldIndex);
  SInstance instance = fieldType.newInstance(getDocument());
  if (fields == null) {
    fields = new FieldMapOfRecordInstance(getType().size());
  }
  fields.set(fieldIndex, instance);
  instance.setParent(this);
  return instance;
}
org.opensingular.formSInstancesetParent

Popular methods of SInstance

  • getDocument
    Retorna o documento ao qual pertence a instância atual.
  • getType
  • toStringDisplay
  • getId
    Retorna um ID único dentre as instâncias do mesmo documento. Um ID nunca é reutilizado, mesmo se a i
  • getAttributeValue
  • findNearest
    Returns the nearest SInstance for the given type in the form SInstance tree. The search is performed
  • setId
    Apenas para uso nas soluções de persistencia. Não deve ser usado fora dessa situação.
  • clearInstance
    Apaga os valores associados a instância. Se for uma lista ou composto, apaga os valores em profundid
  • getName
  • getParent
  • getValue
  • isEmptyOfData
    Retorna true se a instancia não conter nenhuma informação diferente de null. A pesquisa é feita em
  • getValue,
  • isEmptyOfData,
  • asAtr,
  • asAtrAnnotation,
  • asAtrProvider,
  • attachEventCollector,
  • detachEventCollector,
  • getDictionary,
  • getField,
  • getPathFromRoot

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now