Tabnine Logo
ExportedTagSet.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
de.tudarmstadt.ukp.clarin.webanno.export.model.ExportedTagSet
constructor

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.export.model.ExportedTagSet.<init> (Showing top 8 results out of 315)

origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-project

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
origin: webanno/webanno

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao

@Override
public void exportData(ProjectExportRequest aRequest, ExportedProject aExProject, File aStage)
  throws Exception
{
  List<ExportedTagSet> extTagSets = new ArrayList<>();
  for (TagSet tagSet : annotationService.listTagSets(aRequest.getProject())) {
    ExportedTagSet exTagSet = new ExportedTagSet();
    exTagSet.setCreateTag(tagSet.isCreateTag());
    exTagSet.setDescription(tagSet.getDescription());
    exTagSet.setLanguage(tagSet.getLanguage());
    exTagSet.setName(tagSet.getName());
    
    List<ExportedTag> exTags = new ArrayList<>();
    for (Tag tag : annotationService.listTags(tagSet)) {
      ExportedTag exTag = new ExportedTag();
      exTag.setDescription(tag.getDescription());
      exTag.setName(tag.getName());
      exTags.add(exTag);
    }
    exTagSet.setTags(exTags);
    extTagSets.add(exTagSet);
  }
  aExProject.setTagSets(extTagSets);
}

origin: webanno/webanno

@Override
public void exportData(ProjectExportRequest aRequest, ExportedProject aExProject, File aStage)
  throws Exception
{
  List<ExportedTagSet> extTagSets = new ArrayList<>();
  for (TagSet tagSet : annotationService.listTagSets(aRequest.getProject())) {
    ExportedTagSet exTagSet = new ExportedTagSet();
    exTagSet.setCreateTag(tagSet.isCreateTag());
    exTagSet.setDescription(tagSet.getDescription());
    exTagSet.setLanguage(tagSet.getLanguage());
    exTagSet.setName(tagSet.getName());
    
    List<ExportedTag> exTags = new ArrayList<>();
    for (Tag tag : annotationService.listTags(tagSet)) {
      ExportedTag exTag = new ExportedTag();
      exTag.setDescription(tag.getDescription());
      exTag.setName(tag.getName());
      exTags.add(exTag);
    }
    exTagSet.setTags(exTags);
    extTagSets.add(exTagSet);
  }
  aExProject.setTagSets(extTagSets);
}

origin: webanno/webanno

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-export

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
origin: webanno/webanno

ExportedTagSet exTagSet = new ExportedTagSet();
exTagSet.setDescription(tagSet.getDescription());
exTagSet.setLanguage(tagSet.getLanguage());
de.tudarmstadt.ukp.clarin.webanno.export.modelExportedTagSet<init>

Popular methods of ExportedTagSet

  • getName
  • setDescription
  • setLanguage
  • setName
  • setTags
  • getDescription
  • getLanguage
  • getTags
  • isCreateTag
  • setCreateTag
  • getTypeName
  • getTypeName

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • Kernel (java.awt.image)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Top Vim 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