Package com.streambase.sb
Enum SchemaUtil.CopyOptions
- java.lang.Object
-
- java.lang.Enum<SchemaUtil.CopyOptions>
-
- com.streambase.sb.SchemaUtil.CopyOptions
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaUtil.CopyOptions>
- Enclosing class:
- SchemaUtil
public static enum SchemaUtil.CopyOptions extends Enum<SchemaUtil.CopyOptions>
Options used when copying Schemas
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCE_NAMESForce field namesINCLUDE_DESCRIPTIONInclude schema descriptionINCLUDE_NAMEInclude schema nameINCLUDE_PARENTAGEInclude parent schemasINCLUDE_UUIDInclude UUID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaUtil.CopyOptionsvalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaUtil.CopyOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE_UUID
public static final SchemaUtil.CopyOptions INCLUDE_UUID
Include UUID
-
INCLUDE_NAME
public static final SchemaUtil.CopyOptions INCLUDE_NAME
Include schema name
-
INCLUDE_DESCRIPTION
public static final SchemaUtil.CopyOptions INCLUDE_DESCRIPTION
Include schema description
-
INCLUDE_PARENTAGE
public static final SchemaUtil.CopyOptions INCLUDE_PARENTAGE
Include parent schemas
-
FORCE_NAMES
public static final SchemaUtil.CopyOptions FORCE_NAMES
Force field names
-
-
Method Detail
-
values
public static SchemaUtil.CopyOptions[] 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 (SchemaUtil.CopyOptions c : SchemaUtil.CopyOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaUtil.CopyOptions 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
-
-