01: /*
02: * ====================================================================
03: * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12: package org.tmatesoft.svn.core.internal.io.fs;
13:
14: /**
15: * @version 1.1.1
16: * @author TMate Software Ltd.
17: */
18: public class FSCopyInheritance {
19:
20: // Copy id inheritance style
21: public static final int COPY_ID_INHERIT_UNKNOWN = 0;
22: public static final int COPY_ID_INHERIT_SELF = 1;
23: public static final int COPY_ID_INHERIT_PARENT = 2;
24: public static final int COPY_ID_INHERIT_NEW = 3;
25:
26: private int myStyle;
27: private String myCopySourcePath;
28:
29: public FSCopyInheritance(int style, String path) {
30: myStyle = style;
31: myCopySourcePath = path;
32: }
33:
34: public String getCopySourcePath() {
35: return myCopySourcePath;
36: }
37:
38: public int getStyle() {
39: return myStyle;
40: }
41:
42: public void setCopySourcePath(String copySourcePath) {
43: myCopySourcePath = copySourcePath;
44: }
45:
46: public void setStyle(int style) {
47: myStyle = style;
48: }
49:
50: }
|