com.centrasite.registry.versionmanagementservices
Class CopyRule

java.lang.Object
  extended by com.centrasite.registry.versionmanagementservices.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


Constructor Summary
CopyRule(java.lang.String assocID, VersionCopyMode sourceMode, VersionCopyMode targetMode)
          Constuct a copy rule.
 
Method Summary
 java.lang.String getAssocID()
           
 VersionCopyMode getSourceMode()
           
 VersionCopyMode getTargetMode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 mode
targetMode - the target copy mode
Method Detail

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