Tabnine Logo
ExportedAnnotationLayer.isMultipleTokens
Code IndexAdd Tabnine to your IDE (free)

How to use
isMultipleTokens
method
in
de.tudarmstadt.ukp.clarin.webanno.export.model.ExportedAnnotationLayer

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.export.model.ExportedAnnotationLayer.isMultipleTokens (Showing top 4 results out of 315)

origin: de.tudarmstadt.ukp.clarin.webanno/webanno-export

@Deprecated
public static void setLayer(AnnotationSchemaService aAnnotationService, AnnotationLayer aLayer,
    ExportedAnnotationLayer aExLayer,
    Project aProject, User aUser)
  throws IOException
{
  aLayer.setAllowStacking(aExLayer.isAllowStacking());
  aLayer.setBuiltIn(aExLayer.isBuiltIn());
  aLayer.setReadonly(aExLayer.isReadonly());
  aLayer.setCrossSentence(aExLayer.isCrossSentence());
  aLayer.setDescription(aExLayer.getDescription());
  aLayer.setEnabled(aExLayer.isEnabled());
  if (aExLayer.getAnchoringMode() == null) {
    // This allows importing old projects which did not have the anchoring mode yet
    aLayer.setAnchoringMode(aExLayer.isLockToTokenOffset(), aExLayer.isMultipleTokens());
  }
  else {
    aLayer.setAnchoringMode(aExLayer.getAnchoringMode());
  }
  aLayer.setLinkedListBehavior(aExLayer.isLinkedListBehavior());
  aLayer.setUiName(aExLayer.getUiName());
  aLayer.setName(aExLayer.getName());
  aLayer.setProject(aProject);
  aLayer.setType(aExLayer.getType());
  aAnnotationService.createLayer(aLayer);
}
origin: webanno/webanno

@Deprecated
public static void setLayer(AnnotationSchemaService aAnnotationService, AnnotationLayer aLayer,
    ExportedAnnotationLayer aExLayer,
    Project aProject, User aUser)
  throws IOException
{
  aLayer.setAllowStacking(aExLayer.isAllowStacking());
  aLayer.setBuiltIn(aExLayer.isBuiltIn());
  aLayer.setReadonly(aExLayer.isReadonly());
  aLayer.setCrossSentence(aExLayer.isCrossSentence());
  aLayer.setDescription(aExLayer.getDescription());
  aLayer.setEnabled(aExLayer.isEnabled());
  if (aExLayer.getAnchoringMode() == null) {
    // This allows importing old projects which did not have the anchoring mode yet
    aLayer.setAnchoringMode(aExLayer.isLockToTokenOffset(), aExLayer.isMultipleTokens());
  }
  else {
    aLayer.setAnchoringMode(aExLayer.getAnchoringMode());
  }
  aLayer.setValidationMode(aExLayer.getValidationMode() != null ? aExLayer.getValidationMode()
      : ValidationMode.NEVER);
  aLayer.setLinkedListBehavior(aExLayer.isLinkedListBehavior());
  aLayer.setUiName(aExLayer.getUiName());
  aLayer.setName(aExLayer.getName());
  aLayer.setProject(aProject);
  aLayer.setType(aExLayer.getType());
  aAnnotationService.createLayer(aLayer);
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao

public void importLayer(AnnotationLayer aLayer, ExportedAnnotationLayer aExLayer,
    Project aProject)
  throws IOException
{
  aLayer.setAllowStacking(aExLayer.isAllowStacking());
  aLayer.setBuiltIn(aExLayer.isBuiltIn());
  aLayer.setReadonly(aExLayer.isReadonly());
  aLayer.setCrossSentence(aExLayer.isCrossSentence());
  aLayer.setDescription(aExLayer.getDescription());
  aLayer.setEnabled(aExLayer.isEnabled());
  if (aExLayer.getAnchoringMode() == null) {
    // This allows importing old projects which did not have the anchoring mode yet
    aLayer.setAnchoringMode(aExLayer.isLockToTokenOffset(), aExLayer.isMultipleTokens());
  }
  else {
    aLayer.setAnchoringMode(aExLayer.getAnchoringMode());
  }
  aLayer.setLinkedListBehavior(aExLayer.isLinkedListBehavior());
  aLayer.setUiName(aExLayer.getUiName());
  aLayer.setName(aExLayer.getName());
  aLayer.setProject(aProject);
  aLayer.setType(aExLayer.getType());
  annotationService.createLayer(aLayer);
}
origin: webanno/webanno

public void importLayer(AnnotationLayer aLayer, ExportedAnnotationLayer aExLayer,
    Project aProject)
  throws IOException
{
  aLayer.setAllowStacking(aExLayer.isAllowStacking());
  aLayer.setBuiltIn(aExLayer.isBuiltIn());
  aLayer.setReadonly(aExLayer.isReadonly());
  aLayer.setCrossSentence(aExLayer.isCrossSentence());
  aLayer.setDescription(aExLayer.getDescription());
  aLayer.setEnabled(aExLayer.isEnabled());
  if (aExLayer.getAnchoringMode() == null) {
    // This allows importing old projects which did not have the anchoring mode yet
    aLayer.setAnchoringMode(aExLayer.isLockToTokenOffset(), aExLayer.isMultipleTokens());
  }
  else {
    aLayer.setAnchoringMode(aExLayer.getAnchoringMode());
  }
  aLayer.setValidationMode(aExLayer.getValidationMode() != null ? aExLayer.getValidationMode()
      : ValidationMode.NEVER);
  aLayer.setLinkedListBehavior(aExLayer.isLinkedListBehavior());
  aLayer.setUiName(aExLayer.getUiName());
  aLayer.setName(aExLayer.getName());
  aLayer.setProject(aProject);
  aLayer.setType(aExLayer.getType());
  annotationService.createLayer(aLayer);
}
de.tudarmstadt.ukp.clarin.webanno.export.modelExportedAnnotationLayerisMultipleTokens

Popular methods of ExportedAnnotationLayer

  • getName
  • getType
  • <init>
  • getAnchoringMode
  • getAttachFeature
  • getAttachType
  • getDescription
  • getFeatures
  • getUiName
  • getValidationMode
  • isAllowStacking
  • isBuiltIn
  • isAllowStacking,
  • isBuiltIn,
  • isCrossSentence,
  • isEnabled,
  • isLinkedListBehavior,
  • isLockToTokenOffset,
  • isReadonly,
  • setAllowStacking,
  • setAnchoringMode

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 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