com.softwareag.centrasite.appl.framework.persistence.versioning
Class CopyRule
java.lang.Object
com.softwareag.centrasite.appl.framework.persistence.versioning.CopyRule
public class CopyRule
- extends java.lang.Object
Defines a rule how a association with its association objects are copied.
For example: HasParent: Source=DEEP Target=DEEP
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CopyRule
public CopyRule(java.lang.String assocID,
VersionCopyMode sourceMode,
VersionCopyMode targetMode)
- Constuct a copy rule.
- Parameters:
assocID
- ID of association (e.g. "uddi:..")sourceMode
- the source copy modetargetMode
- the target copy mode
getAssocID
public java.lang.String getAssocID()
getSourceMode
public VersionCopyMode getSourceMode()
getTargetMode
public VersionCopyMode getTargetMode()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object