public enum NotifyTableValue extends java.lang.Enum<NotifyTableValue>
Enum Constant and Description |
---|
AS_BUFFERED_WORD
Causes table row values to be read and notified as
AsciiWord s. |
AS_PROPERTIES
Causes table row values to be read and notified as a
NdfProperties map,
whereas the keys are just the column-names of the table. |
AS_STRING_ARRAY
Causes table row values to be read and notified as an array of Strings.
|
SKIP
Causes table values to be skipped.
|
Modifier and Type | Method and Description |
---|---|
boolean |
asBufferedWord() |
boolean |
asProperties() |
boolean |
asStringArray() |
boolean |
isSkip() |
static NotifyTableValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotifyTableValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotifyTableValue AS_PROPERTIES
NdfProperties
map,
whereas the keys are just the column-names of the table. This kind of notification
provides a way to easily extract the values in the desired type.public static final NotifyTableValue AS_STRING_ARRAY
public static final NotifyTableValue AS_BUFFERED_WORD
AsciiWord
s.
This is the fastest way of notification but it does no interpretation
on the data at all.public static final NotifyTableValue SKIP
public static NotifyTableValue[] values()
for (NotifyTableValue c : NotifyTableValue.values()) System.out.println(c);
public static NotifyTableValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isSkip()
public boolean asBufferedWord()
public boolean asStringArray()
public boolean asProperties()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.