Package net.sf.basedb.core
Enum SyncFilter.SourceItemTransform
- java.lang.Object
-
- java.lang.Enum<SyncFilter.SourceItemTransform>
-
- net.sf.basedb.core.SyncFilter.SourceItemTransform
-
- All Implemented Interfaces:
Serializable
,Comparable<SyncFilter.SourceItemTransform>
- Enclosing class:
- SyncFilter
public static enum SyncFilter.SourceItemTransform extends Enum<SyncFilter.SourceItemTransform>
-
-
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
All Methods Static Methods Concrete Methods 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 Detail
-
NONE
public static final SyncFilter.SourceItemTransform NONE
No transformation of source items is done. The items matching the filter will become members of the item list.
-
PARENT_TO_CHILD
public static final SyncFilter.SourceItemTransform 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
public static final SyncFilter.SourceItemTransform 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.
-
-
Method Detail
-
values
public static SyncFilter.SourceItemTransform[] 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 (SyncFilter.SourceItemTransform c : SyncFilter.SourceItemTransform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncFilter.SourceItemTransform valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-