umich.cac.data
Class FieldType

java.lang.Object
  extended byumich.cac.data.FieldType

public class FieldType
extends java.lang.Object

Describes the types of fields, like a resource used type field, a resource listed type field, or generic fields. For example a FieldType object for a field requesting 10 nodes would be a RESOURCE_LIST, while a FieldType object for a field that user RAN on 10 nodes would be RESOURCE_USED. A GENERIC would be something like the jobname.

This is manually used to combine the different fields under the correct tags in the record parsers

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/data/FieldType.html,v 1.6 2003/10/21 20:33:47 rodmach Exp $
Author:
rmach@umich.edu

Field Summary
static FieldType GENERIC
          This is the record type field for a generic type field
static FieldType RESOURCE_LIST
          This is a resource requested type of field
static FieldType RESOURCE_USED
          This is a resources used type of field
 
Constructor Summary
FieldType(java.lang.String description, int id)
          Constructor for the FieldType object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_USED

public static FieldType RESOURCE_USED
This is a resources used type of field


RESOURCE_LIST

public static FieldType RESOURCE_LIST
This is a resource requested type of field


GENERIC

public static FieldType GENERIC
This is the record type field for a generic type field

Constructor Detail

FieldType

public FieldType(java.lang.String description,
                 int id)
Constructor for the FieldType object

Parameters:
description - name of the FieldType
id - unique id for this field type