com.ontimize.dms.warehouse.local.copy
Class CopyInfo
java.lang.Object
com.ontimize.dms.warehouse.local.copy.CopyInfo
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class CopyInfo
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
Service copy information
Preference: Export operations over other types.
- Since:
- 18/05/2009 Created by refactoring copy service., 22/01/2010 Added type., 25/01/2010 Compare by type.
- See Also:
- Serialized Form
|
Constructor Summary |
CopyInfo(int type,
Document document,
java.io.File source,
java.io.File output)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INTERNAL
public static final int INTERNAL
- See Also:
- Constant Field Values
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
EXTRACT
public static final int EXTRACT
- See Also:
- Constant Field Values
EXTRACT_OPEN_OUTPUT_FILE
public static final int EXTRACT_OPEN_OUTPUT_FILE
- See Also:
- Constant Field Values
EXTRACT_OPEN_OUTPUT_PARENT
public static final int EXTRACT_OPEN_OUTPUT_PARENT
- See Also:
- Constant Field Values
type
protected int type
document
protected Document document
source
protected java.io.File source
output
protected java.io.File output
action
protected int action
CopyInfo
public CopyInfo(int type,
Document document,
java.io.File source,
java.io.File output)
getType
public int getType()
getDocument
public Document getDocument()
getSource
public java.io.File getSource()
getOutput
public java.io.File getOutput()
getAction
public int getAction()
setAction
public void setAction(int action)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object