myRDF.model
Class Resource

java.lang.Object
  extended bymyRDF.model.Resource

public class Resource
extends java.lang.Object


Field Summary
protected  java.util.ArrayList attributes
           
protected  java.lang.String name
           
protected  java.lang.String namespace
           
 
Constructor Summary
  Resource(Resource resource)
           
protected Resource(java.lang.String URI)
           
 
Method Summary
 void addAttribute(Attribute attribute)
           
 java.util.ArrayList getAttributes()
           
 java.util.ArrayList getAttributes(java.lang.String predicate)
           
 java.util.ArrayList getComment()
           
 java.util.ArrayList getDomain()
           
 java.util.ArrayList getInstance()
           
 java.util.ArrayList getLabel()
           
 java.lang.String getName()
           
 java.lang.String getNS()
           
 java.util.ArrayList getObjects(java.lang.String predicate)
           
 java.util.ArrayList getProperty()
           
 java.util.ArrayList getRange()
           
 java.util.ArrayList getSubClass()
           
 java.util.ArrayList getSubClassOf()
           
 java.util.ArrayList 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.ArrayList attributes
Constructor Detail

Resource

public Resource(Resource resource)

Resource

protected 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.ArrayList getAttributes()

toString

public java.lang.String toString()

hasAttribute

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

getObjects

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

getAttributes

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

getType

public java.lang.String getType()

getLabel

public java.util.ArrayList getLabel()

getComment

public java.util.ArrayList getComment()

getRange

public java.util.ArrayList getRange()

getDomain

public java.util.ArrayList getDomain()

getSubPropertyOf

public java.util.ArrayList getSubPropertyOf()

getSubClass

public java.util.ArrayList getSubClass()

getSubClassOf

public java.util.ArrayList getSubClassOf()

getInstance

public java.util.ArrayList getInstance()

getProperty

public java.util.ArrayList getProperty()

getTitle

public java.lang.String getTitle()


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