public class CopyRule
extends java.lang.Object
For example: HasParent: Source=DEEP Target=DEEP
Constructor and Description |
---|
CopyRule(java.lang.String assocID,
VersionCopyMode sourceMode,
VersionCopyMode targetMode)
Constructs a copy rule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssocID()
Gets the association id.
|
VersionCopyMode |
getSourceMode()
Returns the source copy mode.
|
VersionCopyMode |
getTargetMode()
Returns the target copy mode.
|
java.lang.String |
toString() |
public CopyRule(java.lang.String assocID, VersionCopyMode sourceMode, VersionCopyMode targetMode)
assocID
- ID of association (e.g. "uddi:..")sourceMode
- the source copy modetargetMode
- the target copy modepublic java.lang.String getAssocID()
public VersionCopyMode getSourceMode()
VersionCopyMode
for the sourcepublic VersionCopyMode getTargetMode()
VersionCopyMode
for the targetpublic java.lang.String toString()
toString
in class java.lang.Object