Codota Logo
ONDEXConcept.deleteAttribute
Code IndexAdd Codota to your IDE (free)

How to use
deleteAttribute
method
in
net.sourceforge.ondex.core.ONDEXConcept

Best Java code snippets using net.sourceforge.ondex.core.ONDEXConcept.deleteAttribute (Showing top 7 results out of 315)

  • Common ways to obtain ONDEXConcept
private void myMethod () {
ONDEXConcept o =
  • Codota IconONDEXRelation r;r.getToConcept()
  • Codota IconONDEXRelation r;r.getFromConcept()
  • Codota IconONDEXGraph graph;graph.getConcept(id)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.ondex.apps/ovtk2

if (attribute != null) {
  concept.deleteAttribute(an);
  attribute = null;
origin: net.sourceforge.ondex.core/tools

c.deleteAttribute(clustAtt);
      ONDEXConcept c = graph.getConcept(i);
      if (c.getAttribute(clustAtt) != null)
        c.deleteAttribute(clustAtt);
      c.createAttribute(clustAtt, clusterId, false);
origin: net.sourceforge.ondex.core/tools

public static void changeAttributeValue(ONDEXEntity e, AttributeName n,
    Object value) {
  if (e instanceof ONDEXConcept) {
    ONDEXConcept c = (ONDEXConcept) e;
    boolean doIndex = c.getAttribute(n).isDoIndex();
    c.deleteAttribute(n);
    c.createAttribute(n, value, doIndex);
  }
  if (e instanceof ONDEXRelation) {
    ONDEXRelation r = (ONDEXRelation) e;
    boolean doIndex = r.getAttribute(n).isDoIndex();
    r.deleteAttribute(n);
    r.createAttribute(n, value, doIndex);
  } else {
    throw new IllegalArgumentException(
        "This method only works with Ondex concepts and relations.");
  }
}
origin: net.sourceforge.ondex.apps/ovtk2

c.deleteAttribute(an);
origin: net.sourceforge.ondex.apps/ovtk2

ac.deleteAttribute(aDelete);
origin: net.sourceforge.ondex.modules/generic

if (concept.deleteAttribute(an))
  number++;
if (concept.deleteAttribute(an))
  number++;
origin: net.sourceforge.ondex.apps/ovtk2-default

ONDEXConcept c = graph.getConcept(i);
if (c.getAttribute(att) != null) {
  c.deleteAttribute(att);
net.sourceforge.ondex.coreONDEXConceptdeleteAttribute

Popular methods of ONDEXConcept

  • getId
  • createAttribute
  • createConceptAccession
    Creates a new ConceptAccession with the given accession, the information which DataSource it belongs
  • createConceptName
    Creates a new ConceptName with the given name and the information if this name is preferred. Then ad
  • getOfType
  • getConceptAccessions
  • getElementOf
    Returns the DataSource, which this AbstractConcept belongs to.
  • getPID
    Returns the parser id of this instance of AbstractConcept.
  • getConceptNames
    Returns all ConceptNames contained in the list of ConceptNames.
  • getAttribute
  • getConceptName
    Returns a ConceptName or null if unsuccessful for a given name or null if unsuccessful.
  • getAnnotation
    Returns the annotation of this instance of AbstractConcept.
  • getConceptName,
  • getAnnotation,
  • addTag,
  • getDescription,
  • getAttributes,
  • getTags,
  • getEvidence,
  • setAnnotation,
  • getConceptAccession,
  • setDescription

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Join (org.hibernate.mapping)
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