de.fuberlin.wiwiss.semmf.taxon
Class SuperConcept

java.lang.Object
  extended by de.fuberlin.wiwiss.semmf.taxon.Concept
      extended by de.fuberlin.wiwiss.semmf.taxon.SuperConcept

public class SuperConcept
extends Concept

A class representing a concept from a taxonomy, having one or more descendants but only ONE parent concept. Each concept is an URI-denoted RDF-Node from an underlying taxonomy.

Version:
1.2 last modified 29.11.2006
Author:
Radoslaw Oldakowski

Field Summary
private  ConceptPosition conceptPosition
          Object representing the position of this SuperConcept in a concept hierarchy.
 
Fields inherited from class de.fuberlin.wiwiss.semmf.taxon.Concept
type
 
Constructor Summary
SuperConcept(java.lang.String URI)
          Constructor.
SuperConcept(java.lang.String URI, ConceptPosition cp)
          Constructor.
 
Method Summary
 ConceptPosition getConceptPosition()
           
 void setConceptPosition(ConceptPosition cp)
          Sets the position of this concept in the concept hierarchy
 
Methods inherited from class de.fuberlin.wiwiss.semmf.taxon.Concept
getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conceptPosition

private ConceptPosition conceptPosition
Object representing the position of this SuperConcept in a concept hierarchy.

Constructor Detail

SuperConcept

public SuperConcept(java.lang.String URI)
Constructor. Creates a new SuperConcept with no specified position

Parameters:
URI - URI of this SuperConcept

SuperConcept

public SuperConcept(java.lang.String URI,
                    ConceptPosition cp)
Constructor.

Parameters:
URI - - URI of this SuperConcept
cp - - position of this concept in the concept hierarchy
Method Detail

setConceptPosition

public void setConceptPosition(ConceptPosition cp)
Sets the position of this concept in the concept hierarchy


getConceptPosition

public ConceptPosition getConceptPosition()
Returns:
the concept position