net.sourceforge.nite.meta
Interface NRealResource

All Superinterfaces:
NResource
All Known Implementing Classes:
NiteResource

public interface NRealResource
extends NResource

A single resource in a resource file, provides access methods for its attributes and dependencies.

Author:
jonathan

Field Summary
static int AUTOMATIC
           
static int MANUAL
           
 
Method Summary
 java.lang.String getAnnotator()
          return the annotator for this resource - null if this is an automatic process.
 java.lang.String getCodingManualReference()
          return the coding manual reference or URL as a String
 java.lang.String getCoverage()
          return the responsible person or organisation as a String
 java.lang.String getDescription()
          return the textual description of this resource
 java.lang.String getLastEdit()
          return some details about the last edit to this resource as a String
 java.lang.String getPath()
          return the value of the 'path' attribute for this resource.
 java.lang.String getQuality()
          return the responsible person or organisation as a String
 java.lang.String getResponsible()
          return the responsible person or organisation as a String
 int getType()
          return the type of this resource: AUTOMATIC or MANUAL
 void setAnnotator(java.lang.String annotator)
          set the annotator for this resource - should remain null if this is an automatic process.
 void setCodingManualReference(java.lang.String manual)
          set the coding manual reference or URL as a String
 void setCoverage(java.lang.String coverage)
          set the responsible person or organisation as a String
 void setDescription(java.lang.String description)
          set the textual description of this resource
 void setLastEdit(java.lang.String edit)
          return some details about the last edit to this resource as a String
 void setPath(java.lang.String path)
          Set the value of the 'path' attribute for this resource group.
 void setQuality(java.lang.String quality)
          set the responsible person or organisation as a String
 void setResponsible(java.lang.String responsible)
          set the responsible person or organisation as a String
 void setType(int type)
          set the type of this resource: AUTOMATIC or MANUAL
 
Methods inherited from interface net.sourceforge.nite.meta.NResource
addDependency, addDependency, dependsOn, getCoding, getDependencies, getID, getIncompatibleID, getResourceGroup, isDefault, setIncompatibleID
 

Field Detail

AUTOMATIC

static final int AUTOMATIC
See Also:
Constant Field Values

MANUAL

static final int MANUAL
See Also:
Constant Field Values
Method Detail

getPath

java.lang.String getPath()
return the value of the 'path' attribute for this resource. This can be absolute or relative, or even a URL


setPath

void setPath(java.lang.String path)
Set the value of the 'path' attribute for this resource group. This can be absolute or relative, or even a URL - relative paths are relative to the resource file location and/or the resource-type path


getDescription

java.lang.String getDescription()
return the textual description of this resource

Specified by:
getDescription in interface NResource

setDescription

void setDescription(java.lang.String description)
set the textual description of this resource


getAnnotator

java.lang.String getAnnotator()
return the annotator for this resource - null if this is an automatic process. Each separate annotator should have a separate resource


setAnnotator

void setAnnotator(java.lang.String annotator)
set the annotator for this resource - should remain null if this is an automatic process. Each separate annotator should have a separate resource


getType

int getType()
return the type of this resource: AUTOMATIC or MANUAL


setType

void setType(int type)
set the type of this resource: AUTOMATIC or MANUAL


getResponsible

java.lang.String getResponsible()
return the responsible person or organisation as a String


setResponsible

void setResponsible(java.lang.String responsible)
set the responsible person or organisation as a String


getCodingManualReference

java.lang.String getCodingManualReference()
return the coding manual reference or URL as a String


setCodingManualReference

void setCodingManualReference(java.lang.String manual)
set the coding manual reference or URL as a String


getQuality

java.lang.String getQuality()
return the responsible person or organisation as a String


setQuality

void setQuality(java.lang.String quality)
set the responsible person or organisation as a String


getCoverage

java.lang.String getCoverage()
return the responsible person or organisation as a String


setCoverage

void setCoverage(java.lang.String coverage)
set the responsible person or organisation as a String


getLastEdit

java.lang.String getLastEdit()
return some details about the last edit to this resource as a String


setLastEdit

void setLastEdit(java.lang.String edit)
return some details about the last edit to this resource as a String