Codota Logo
AttrGroup.getDescriptions
Code IndexAdd Codota to your IDE (free)

How to use
getDescriptions
method
in
de.micromata.genome.db.jpa.tabattr.api.AttrGroup

Best Java code snippets using de.micromata.genome.db.jpa.tabattr.api.AttrGroup.getDescriptions (Showing top 3 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: micromata/projectforge

 @Override
 public AttrDescription getAttrDescription(final AttrGroup attrGroup, final String descriptionName)
 {
  return (attrGroup == null) ? null :
    attrGroup
      .getDescriptions()
      .stream()
      .filter(desc -> desc.getPropertyName().equals(descriptionName))
      .findFirst()
      .orElse(null);
 }
}
origin: micromata/projectforge

@Override
public Map<String, SearchColumnMetadata> getAdditionallySearchFields(EntityMetadata entm,
  String params)
{
 Map<String, SearchColumnMetadata> ret = new HashMap<>();
 AttrSchemaService service = AttrSchemaServiceSpringBeanImpl.get();
 AttrSchema schema = service.getAttrSchema(params);
 if (schema != null) {
  for (AttrGroup group : schema.getGroups()) {
   for (AttrDescription ad : group.getDescriptions()) {
    ColumnMetadata cmd = getColumnMetadataFromColumnDesc(entm, ad);
    SearchColumnMetadataBean scmd = new SearchColumnMetadataBean(ad.getPropertyName(), cmd);
    scmd.setIndexType(String.class);
    scmd.setIndexed(true);
    ret.put(ad.getPropertyName(), scmd);
   }
  }
  return ret;
 } else {
  log.info("Can't get AttrSchema. Continoue without.");
  return null;
 }
}
origin: micromata/projectforge

 protected DivPanel createContent(final EntityWithAttributes entity, final Consumer<GridBuilder> gridBuilderConsumer)
 {
  final GridBuilder gridBuilder = new GridBuilder(null, "content");
  gridBuilder.newSplitPanel(GridSize.COL100);

  // this can be used to create content before the rest of the content is created
  if (gridBuilderConsumer != null) {
   gridBuilderConsumer.accept(gridBuilder);
  }

  // create the content according to the descriptions of this group (from the xml file)
  for (final AttrDescription desc : attrGroup.getDescriptions()) {
   final String label = getString(desc.getI18nkey());
   final FieldsetPanel fs = gridBuilder.newFieldset(label);
   final ComponentWrapperPanel component = attrSchemaService.createWicketComponent(fs.newChildId(), attrGroup, desc, entity);
   fs.add((Component) component);
  }

  return gridBuilder.getMainContainer();
 }
}
de.micromata.genome.db.jpa.tabattr.apiAttrGroupgetDescriptions

Popular methods of AttrGroup

  • getName
  • getDayMonthGranularity
  • getI18nKey
  • getI18nKeyStartTime
  • getI18nKeySubmenu
  • getType

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
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