01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307
20: * USA
21: *
22: * $Id: IMDLDocReference.java 3614 2006-12-11 22:36:52Z mpreston $
23: *
24: */
25: package com.bostechcorp.cbesb.common.mdl;
26:
27: /**
28: * Represents an instance of an "include" or "import" tag in an MDL document.
29: *
30: */
31: public interface IMDLDocReference {
32:
33: /**
34: * The include element.
35: */
36: public static final byte TYPE_INCLUDE = 0;
37:
38: /**
39: * The import element.
40: */
41: public static final byte TYPE_IMPORT = 1;
42:
43: /**
44: * Get byte value of type attribute.
45: *
46: * @return Returns the type.
47: */
48: public byte getType();
49:
50: /**
51: * Set byte value of type attribute.
52: *
53: * @param type The type to set.
54: */
55: public void setType(byte type);
56:
57: /**
58: * Get the value of defLocation attribute.
59: *
60: * @return Returns the defLocation.
61: */
62: public String getDefLocation();
63:
64: /**
65: * Set the value of defLocation attribute.
66: *
67: * @param defLocation The defLocation to set.
68: */
69: public void setDefLocation(String defLocation);
70:
71: /**
72: * Get value of the namespace attribute.
73: *
74: * @return Returns the namespace.
75: */
76: public String getNamespace();
77:
78: /**
79: * Set value of the namespace attribute.
80: *
81: * @param namespace The namespace to set.
82: */
83: public void setNamespace(String namespace);
84:
85: /**
86: * Get the imported or included MDLDocument object.
87: *
88: * @return Returns the mdlDoc.
89: */
90: public IMDLDocument getMDLDocument();
91:
92: /**
93: * Set the imported or included MDLDocument object.
94: *
95: * @param mdlDoc The mdlDoc to set.
96: */
97: public void setMDLDocument(IMDLDocument mdlDoc);
98: }
|