|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Nesting>
com.univocity.parsers.common.Nesting
public enum Nesting
Determines how data obtained from a given entity should be associated with the data of its parent.
| Enum Constant Summary | |
|---|---|
JOIN
Joins all data retrieved into the parent row. |
|
LINK
Links all data retrieved to a given field of the parent row. |
|
REPLACE_JOIN
Joins all data retrieved into the parent row, replacing the source value used to produce the child rows. |
|
REPLACE_LINK
Links all data retrieved the parent row, removing the source value used to produce child rows. |
|
| Method Summary | |
|---|---|
boolean |
joins()
Tests if this nesting option joins values of a linked entity with the values of a parent row. |
boolean |
links()
Tests if this nesting option links values of a linked entity to the parent row. |
boolean |
replaces()
Tests if this nesting option replaces the source value used to produce child rows. |
static Nesting |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Nesting[] |
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 |
|---|
public static final Nesting JOIN
Result.getLinkedFieldData(int)
public static final Nesting REPLACE_JOIN
Result.getLinkedFieldData(int)
public static final Nesting LINK
Result.getLinkedFieldData(int)
public static final Nesting REPLACE_LINK
Result.getLinkedFieldData(int)
| Method Detail |
|---|
public static Nesting[] values()
for (Nesting c : Nesting.values()) System.out.println(c);
public static Nesting valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean replaces()
true if this nesting option replaces the source value used to produce child rows; false otherwise.public boolean joins()
true if this nesting option replaces the source value used to produce child rows; false otherwise.public boolean links()
true if this nesting option links values of a linked entity to the parent row; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||