public static enum CopyBehaviourCallback.AssocCopyTargetAction extends Enum<CopyBehaviourCallback.AssocCopyTargetAction> implements Comparable<CopyBehaviourCallback.AssocCopyTargetAction>
Enum Constant and Description |
---|
USE_COPIED_OTHERWISE_ORIGINAL_TARGET
The copied association will use, as target, the node copied from the
original target; if the original association's target is not copied
in the original target is used.
|
USE_COPIED_TARGET
The copied association will use, as target, the node copied from the
original target; if the original association's target is not copied
in the process, then nothing is done.
|
USE_ORIGINAL_TARGET
The copied association will use, as target, the original association's target
i.e.
|
Modifier and Type | Method and Description |
---|---|
static CopyBehaviourCallback.AssocCopyTargetAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopyBehaviourCallback.AssocCopyTargetAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final CopyBehaviourCallback.AssocCopyTargetAction USE_ORIGINAL_TARGET
public static final CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_TARGET
public static final CopyBehaviourCallback.AssocCopyTargetAction USE_COPIED_OTHERWISE_ORIGINAL_TARGET
public static CopyBehaviourCallback.AssocCopyTargetAction[] values()
for (CopyBehaviourCallback.AssocCopyTargetAction c : CopyBehaviourCallback.AssocCopyTargetAction.values()) System.out.println(c);
public static CopyBehaviourCallback.AssocCopyTargetAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 Alfresco Software. All rights reserved.