ch.hearc.I04_05s08.GUI.RDF
Class RdfNode

java.lang.Object
  extended bych.hearc.I04_05s08.GUI.Graph.Element
      extended bych.hearc.I04_05s08.GUI.Graph.Node
          extended bych.hearc.I04_05s08.GUI.RDF.RdfNode
Direct Known Subclasses:
RdfLiteral, RdfResource

public abstract class RdfNode
extends Node

A node for RDFS graph

Author:
Blanc, Yoan
Licence:
MIT
Copyright:
2005 Yoan Blanc, HE-ARC Ing�nierie

Field Summary
private  InstanceOfClass ioc
          RFDS Resource
 
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Node
 
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Element
 
Constructor Summary
RdfNode(InstanceOfClass ioc)
          Build a rdf node
RdfNode(RdfNode n)
          Build a copy of a rdf node
 
Method Summary
 InstanceOfClass getInstanceOfClass()
          Get the intance of Class
 void setValue(String value)
          Set the value of the instance fo class
 void update()
          Update the node
 
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Node
calcDimension, contains, draw, drawTitle, getBounds, getGravityPoint, getPoint, getProximityPoint, setPos
 
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Element
clone, getBackgroundColor, getForegroundColor, getGraph, getPadding, getTitle, isSelected, select, setBackgroundColor, setForegroundColor, setPadding, setSelectedBackgroundColor, setSelectedForegroundColor, setTitle, showDialog
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ioc

private InstanceOfClass ioc
RFDS Resource

Constructor Detail

RdfNode

public RdfNode(InstanceOfClass ioc)
Build a rdf node

Parameters:
ioc - the instance of class

RdfNode

public RdfNode(RdfNode n)
Build a copy of a rdf node

Parameters:
n - the instance of class
Method Detail

getInstanceOfClass

public InstanceOfClass getInstanceOfClass()
Get the intance of Class

Returns:
instance of class

setValue

public void setValue(String value)
Set the value of the instance fo class

Parameters:
value - instance of class value (literal)

update

public void update()
Update the node

Overrides:
update in class Node


A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC