public enum RetainMetadata extends java.lang.Enum<RetainMetadata>
FilePlan.getRetainMetadata
Enum Constant and Description |
---|
AlwaysRetain
Always retain metadata.
|
NeverRetain
Never retain metadata.
|
PromptUser
Prompt the user to retain or not to retain metadata.
|
Modifier and Type | Method and Description |
---|---|
static RetainMetadata |
getInstanceFromInt(int intValue)
Provides the
RetainMetadata instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static RetainMetadata |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RetainMetadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetainMetadata AlwaysRetain
public static final RetainMetadata NeverRetain
public static final RetainMetadata PromptUser
public static RetainMetadata[] values()
for (RetainMetadata c : RetainMetadata.values()) System.out.println(c);
public static RetainMetadata 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 int getIntValue()
int
value.public static RetainMetadata getInstanceFromInt(int intValue)
RetainMetadata
instance that corresponds to the given
int
value.intValue
- the int
value to look up.RetainMetadata
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.