com.bmc.mainview.nvbapi
Class Field

java.lang.Object
  extended by com.bmc.mainview.nvbapi.Field

public final class Field
extends java.lang.Object

A class holding a field definition

Version:
2.0
Author:
F. Schneider
See Also:
View.getField(int), View.getField(String), View.getValue(int, Field), View.getRawValue(int, Field)

Field Summary
static int CHAR
          The data type is character
static int CONSTANT
          The data type is constant text
 int dataType
          The data type One of CHAR, NUMBER, HEX, DATE, TIME, or CONSTANT
static int DATE
          The data type is date
 java.lang.String hdr1
          The first line of the column label
 java.lang.String hdr2
          The second line of the column label
static int HEX
          The data type is hexadecimal
 Hyperlink[] hyperlinks
          The Hyperlinks associated with this field
 java.lang.String id
          The single-letter column name
 java.lang.String name
          The data name in the record
static int NUMBER
          The data type is numeric
static int TIME
          The data type is time (might be time of day, might be elapsed time)
static java.lang.String[] TYPES
           
 int width
          The width of the field
 
Constructor Summary
Field(XML col)
          Create a new Field definition from the attributes of a map element
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The data name in the record


id

public java.lang.String id
The single-letter column name


hdr1

public java.lang.String hdr1
The first line of the column label


hdr2

public java.lang.String hdr2
The second line of the column label


hyperlinks

public Hyperlink[] hyperlinks
The Hyperlinks associated with this field

Since:
2.0.12, Server version 6.0.01
See Also:
View.setHyperlinks(boolean)

CHAR

public static final int CHAR
The data type is character

See Also:
Constant Field Values

NUMBER

public static final int NUMBER
The data type is numeric

See Also:
Constant Field Values

HEX

public static final int HEX
The data type is hexadecimal

See Also:
Constant Field Values

DATE

public static final int DATE
The data type is date

See Also:
Constant Field Values

TIME

public static final int TIME
The data type is time (might be time of day, might be elapsed time)

See Also:
Constant Field Values

CONSTANT

public static final int CONSTANT
The data type is constant text

See Also:
Constant Field Values

TYPES

public static final java.lang.String[] TYPES

dataType

public int dataType
The data type One of CHAR, NUMBER, HEX, DATE, TIME, or CONSTANT


width

public int width
The width of the field

Constructor Detail

Field

public Field(XML col)
Create a new Field definition from the attributes of a map element

Parameters:
col - An XML element from a map returned by mapGet
See Also:
Conversation.mapGet()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object