public class AVMDifference
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFLICT |
static int |
DIRECTORY |
static int |
NEWER |
static int |
OLDER |
static int |
SAME |
| Constructor and Description |
|---|
AVMDifference(int srcVersion,
java.lang.String srcPath,
int dstVersion,
java.lang.String dstPath,
int diffCode)
Make one up.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AVMDifference other) |
java.lang.String |
getDestinationPath()
Get the destination path.
|
int |
getDestinationVersion()
Get the destination version number.
|
int |
getDifferenceCode()
Get the difference code, NEWER, OLDER, CONFLICT.
|
int |
getOrderValue() |
java.lang.String |
getSourcePath()
Get the source path.
|
int |
getSourceVersion()
Get the source version number.
|
boolean |
isValid()
Check for improperly initialized instances.
|
java.lang.String |
toString()
Get as String.
|
public static final int NEWER
public static final int OLDER
public static final int CONFLICT
public static final int DIRECTORY
public static final int SAME
public AVMDifference(int srcVersion,
java.lang.String srcPath,
int dstVersion,
java.lang.String dstPath,
int diffCode)
srcVersion - The source version.srcPath - the source path.dstVersion - The destination version.dstPath - The destination path.diffCode - The difference code, NEWER, OLDER, CONFLICTpublic int getSourceVersion()
public java.lang.String getSourcePath()
public int getDestinationVersion()
public java.lang.String getDestinationPath()
public int getDifferenceCode()
public boolean isValid()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(AVMDifference other)
compareTo in interface java.lang.Comparablepublic int getOrderValue()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.