edu.ntnu.cikmr.services.resources
Class ResourceDescription
java.lang.Object
edu.ntnu.cikmr.services.resources.ResourceDescription
public class ResourceDescription
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceDescription
public ResourceDescription()
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)