com.centrasite.registry.versionmanagementservices
Class VersionCopyMode

java.lang.Object
  extended by com.centrasite.registry.versionmanagementservices.VersionCopyMode

public final class VersionCopyMode
extends java.lang.Object

Just define the supported copy modes.


Field Summary
static VersionCopyMode DEEP
           
static VersionCopyMode NONE
           
static VersionCopyMode REMOVE
           
static VersionCopyMode SHALLOW
           
 
Method Summary
 boolean equals(java.lang.Object versionCopyMode)
          Compares a copy mode with me.
 int hashCode()
          Produce a has code that equal elements have same hash code
 java.lang.String toString()
          Deliver String representation
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final VersionCopyMode NONE

SHALLOW

public static final VersionCopyMode SHALLOW

DEEP

public static final VersionCopyMode DEEP

REMOVE

public static final VersionCopyMode REMOVE
Method Detail

equals

public boolean equals(java.lang.Object versionCopyMode)
Compares a copy mode with me.

Overrides:
equals in class java.lang.Object
Parameters:
versionCopyMode - a copy mode
Returns:
copy modes equal/unequal

hashCode

public int hashCode()
Produce a has code that equal elements have same hash code

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Deliver String representation

Overrides:
toString in class java.lang.Object