com.sage.accpac.sm
Enum ViewField.ViewFieldType

java.lang.Object
  extended by java.lang.Enum<ViewField.ViewFieldType>
      extended by com.sage.accpac.sm.ViewField.ViewFieldType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ViewField.ViewFieldType>
Enclosing class:
ViewField

public static enum ViewField.ViewFieldType
extends java.lang.Enum<ViewField.ViewFieldType>

Defines the possible data types of a view field.


Enum Constant Summary
Bool
          Boolean
Byte
          Binary
Char
          String encoded in the appropriate character set
Date
          Date
Decimal
          128-bit high precision decimal
Int
          16-bit signed integer
Long
          32-bit signed integer
Real
          64-bit double-precision floating point
Time
          Time
 
Method Summary
static ViewField.ViewFieldType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewField.ViewFieldType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Char

public static final ViewField.ViewFieldType Char
String encoded in the appropriate character set


Byte

public static final ViewField.ViewFieldType Byte
Binary


Date

public static final ViewField.ViewFieldType Date
Date


Time

public static final ViewField.ViewFieldType Time
Time


Real

public static final ViewField.ViewFieldType Real
64-bit double-precision floating point


Decimal

public static final ViewField.ViewFieldType Decimal
128-bit high precision decimal


Int

public static final ViewField.ViewFieldType Int
16-bit signed integer


Long

public static final ViewField.ViewFieldType Long
32-bit signed integer


Bool

public static final ViewField.ViewFieldType Bool
Boolean

Method Detail

values

public static ViewField.ViewFieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ViewField.ViewFieldType c : ViewField.ViewFieldType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ViewField.ViewFieldType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2011 Sage Software, Inc. All rights reserved.