myRDF.model
Class Resource
java.lang.Object
myRDF.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
namespace
protected java.lang.String namespace
name
protected java.lang.String name
attributes
protected java.util.ArrayList attributes
Resource
public Resource(Resource resource)
Resource
protected Resource(java.lang.String URI)
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.