public static enum CopyBehaviourCallback.AssocCopySourceAction extends Enum<CopyBehaviourCallback.AssocCopySourceAction> implements Comparable<CopyBehaviourCallback.AssocCopySourceAction>
Enum Constant and Description |
---|
COPY
Always copy the association.
|
COPY_REMOVE_EXISTING
Always copy the association but remove the copy-target's matching associations
when copying over an existing node.
|
IGNORE
Ignore the association
|
Modifier and Type | Method and Description |
---|---|
static CopyBehaviourCallback.AssocCopySourceAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopyBehaviourCallback.AssocCopySourceAction[] |
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.AssocCopySourceAction COPY
existing target nodes
.public static final CopyBehaviourCallback.AssocCopySourceAction COPY_REMOVE_EXISTING
public static final CopyBehaviourCallback.AssocCopySourceAction IGNORE
public static CopyBehaviourCallback.AssocCopySourceAction[] values()
for (CopyBehaviourCallback.AssocCopySourceAction c : CopyBehaviourCallback.AssocCopySourceAction.values()) System.out.println(c);
public static CopyBehaviourCallback.AssocCopySourceAction 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.