umich.cac.data
Class BNodeField

java.lang.Object
  extended byumich.cac.data.Field
      extended byumich.cac.data.BNodeField

public class BNodeField
extends Field

This class encapsulates B record Node fields. A node consists of a nodename, and optionally a cpu. PBS encodes these together in a single field, using different separators.

An example rendering output from this Field would be

 
 
  <node>
 
  <nodename>node047</nodename>
 
  <cpu>0</cpu>
 
  </node>
 
 

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

Field Summary
 
Fields inherited from class umich.cac.data.Field
childrenFields, fieldName, fieldType, nl, rawValue
 
Constructor Summary
BNodeField(FieldName fieldName, java.lang.String rawValue)
          Constructor for NodeField field, for a GENERIC field type
 
Methods inherited from class umich.cac.data.Field
addAttribute, addChild, getAttributes, getChildren, getFieldName, getFieldType, getRawValue, setRawValue, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BNodeField

public BNodeField(FieldName fieldName,
                  java.lang.String rawValue)
Constructor for NodeField field, for a GENERIC field type

Parameters:
fieldName - Name of this field
rawValue - the raw value of this field from PBS accounting data