olr.rdf
Class Resource

java.lang.Object
  extended byolr.rdf.Resource

public class Resource
extends java.lang.Object


Field Summary
protected  java.util.List attributes
           
protected  java.lang.String name
           
protected  java.lang.String namespace
           
 
Constructor Summary
Resource(java.lang.String URI)
           
 
Method Summary
 void addAttribute(Attribute attribute)
           
 java.util.List getAttributes()
           
 java.util.List getAttributes(java.lang.String predicate)
           
 java.util.List getComment()
           
 java.util.List getDomain()
           
 java.util.List getInstance()
           
 java.util.List getLabel()
           
 java.lang.String getName()
           
 java.lang.String getNS()
           
 java.util.List getObjects(java.lang.String predicate)
           
 java.util.List getProperty()
           
 java.util.List getRange()
           
 java.util.List getSubClass()
           
 java.util.List getSubClassOf()
           
 java.util.List getSubPropertyOf()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.lang.String getURI()
           
 boolean hasAttribute(java.lang.String predicate, java.lang.String object)
           
 boolean isEmpty()
           
 void removeAttribute(Attribute attribute)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

namespace

protected java.lang.String namespace

name

protected java.lang.String name

attributes

protected java.util.List attributes
Constructor Detail

Resource

public Resource(java.lang.String URI)
Method Detail

getNS

public java.lang.String getNS()

getName

public java.lang.String getName()

getURI

public java.lang.String getURI()

isEmpty

public boolean isEmpty()

addAttribute

public void addAttribute(Attribute attribute)

removeAttribute

public void removeAttribute(Attribute attribute)

getAttributes

public java.util.List getAttributes()

toString

public java.lang.String toString()

hasAttribute

public boolean hasAttribute(java.lang.String predicate,
                            java.lang.String object)

getObjects

public java.util.List getObjects(java.lang.String predicate)

getAttributes

public java.util.List getAttributes(java.lang.String predicate)

getType

public java.lang.String getType()

getLabel

public java.util.List getLabel()

getComment

public java.util.List getComment()

getRange

public java.util.List getRange()

getDomain

public java.util.List getDomain()

getSubPropertyOf

public java.util.List getSubPropertyOf()

getSubClass

public java.util.List getSubClass()

getSubClassOf

public java.util.List getSubClassOf()

getInstance

public java.util.List getInstance()

getProperty

public java.util.List getProperty()

getTitle

public java.lang.String getTitle()


Copyright © 2001-2004 University of Hannover. All Rights Reserved.