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

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

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.export.model.ExportedAnnotationLayer.isLinkedListBehavior (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.modelExportedAnnotationLayerisLinkedListBehavior

Popular methods of ExportedAnnotationLayer

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Menu (java.awt)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • 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