Package net.sf.basedb.core
Enum SyncFilter.SourceItemTransform
- All Implemented Interfaces:
Serializable
,Comparable<SyncFilter.SourceItemTransform>
,java.lang.constant.Constable
- Enclosing class:
- SyncFilter
public static enum SyncFilter.SourceItemTransform extends Enum<SyncFilter.SourceItemTransform>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_TO_PARENT
Source items are transformed to parent items.NONE
No transformation of source items is done.PARENT_TO_CHILD
Source items are transformed to child items. -
Constructor Summary
Constructors Modifier Constructor Description private
SourceItemTransform()
-
Method Summary
Modifier and Type Method Description static SyncFilter.SourceItemTransform
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyncFilter.SourceItemTransform[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
No transformation of source items is done. The items matching the filter will become members of the item list. -
PARENT_TO_CHILD
Source items are transformed to child items. Items matching the filter will have their child items looked up which will become members of the list. -
CHILD_TO_PARENT
Source items are transformed to parent items. Items matching the filter will have their parent items looked up which will become members of the list.
-
-
Constructor Details
-
SourceItemTransform
private SourceItemTransform()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-