documenter.engine
Class ResourceRecord

java.lang.Object
  extended by documenter.engine.ResourceRecord
All Implemented Interfaces:
java.lang.Comparable

public class ResourceRecord
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
ResourceRecord()
          Creates empty object
 
Method Summary
 int compareTo(java.lang.Object arg0)
           
 java.lang.String getLink()
           
 java.lang.String getResource()
           
 void setLink(java.lang.String value)
          Sets link to the html page of the resource
 void setResource(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceRecord

public ResourceRecord()
Creates empty object

Method Detail

setLink

public void setLink(java.lang.String value)
Sets link to the html page of the resource


getLink

public java.lang.String getLink()
Returns:
Link to the html page of the resource

setResource

public void setResource(java.lang.String value)
Parameters:
value - Name of the resource

getResource

public java.lang.String getResource()
Returns:
Name of the resource

compareTo

public int compareTo(java.lang.Object arg0)
Specified by:
compareTo in interface java.lang.Comparable
Parameters:
arg0 - ResourceRecord to compare to
Returns:
0 if resource names are equal 1 if this resources name is greater than the reource name in the parameter object -1 if this resources name is less than the reource name in the parameter object