edu.ntnu.cikmr.services.resources
Class ResourceDescription

java.lang.Object
  extended by edu.ntnu.cikmr.services.resources.ResourceDescription

public class ResourceDescription
extends java.lang.Object


Constructor Summary
ResourceDescription()
           
 
Method Summary
 void addMethod(ResourceMethod method)
           
static ResourceDescription fromXML(org.w3c.dom.Node resourceNode)
           
 java.lang.String getDescription()
           
 Individual getLocation()
           
 ResourceMethod getMethod(java.lang.String name)
           
 ResourceMethod[] getMethods()
           
 Individual getType()
           
 void removeMethod(java.lang.String name)
           
 void setDescription(java.lang.String description)
           
 void setLocation(Individual location)
           
 void setType(Individual type)
           
static java.lang.String toXML(ResourceDescription resourceDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDescription

public ResourceDescription()
Method Detail

setDescription

public void setDescription(java.lang.String description)

setLocation

public void setLocation(Individual location)

setType

public void setType(Individual type)

getDescription

public java.lang.String getDescription()

getLocation

public Individual getLocation()

getType

public Individual getType()

getMethods

public ResourceMethod[] getMethods()

getMethod

public ResourceMethod getMethod(java.lang.String name)

addMethod

public void addMethod(ResourceMethod method)

removeMethod

public void removeMethod(java.lang.String name)

fromXML

public static ResourceDescription fromXML(org.w3c.dom.Node resourceNode)
                                   throws java.text.ParseException
Throws:
java.text.ParseException

toXML

public static java.lang.String toXML(ResourceDescription resourceDescription)