001: /*
002: *
003: * The contents of this file are subject to the terms of the Common Development
004: * and Distribution License (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
008: * or http://www.netbeans.org/cddl.txt.
009: *
010: * When distributing Covered Code, include this CDDL Header Notice in each file
011: * and include the License file at http://www.netbeans.org/cddl.txt.
012: * If applicable, add the following below the CDDL Header, with the fields
013: * enclosed by brackets [] replaced by your own identifying information:
014: * "Portions Copyrighted [year] [name of copyright owner]"
015: *
016: * The Original Software is NetBeans. The Initial Developer of the Original
017: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
018: * Microsystems, Inc. All Rights Reserved.
019: */
020: package org.netbeans.modules.wsdlextensions.file.model;
021:
022: /**
023: * @author sweng
024: */
025: public interface FileMessage extends FileComponent {
026: /**
027: *
028: */
029: public static final String ATTR_FILE_USE = "use";
030: /**
031: *
032: */
033: public static final String ATTR_FILE_ENCODING_STYLE = "encodingStyle";
034: /**
035: *
036: */
037: public static final String ATTR_FILE_TYPE = "fileType";
038: /**
039: *
040: */
041: public static final String ATTR_FILE_NAME_IS_PATTERN = "fileNameIsPattern";
042: /**
043: *
044: */
045: public static final String ATTR_FILE_NAME = "fileName";
046: /**
047: *
048: */
049: public static final String ATTR_POLLING_INTERVAL = "pollingInterval";
050: /**
051: *
052: */
053: public static final String ATTR_REMOVE_EOL = "removeEOL";
054: /**
055: *
056: */
057: public static final String ATTR_ADD_EOL = "addEOL";
058: /**
059: *
060: */
061: public static final String ATTR_MULTIPLE_RECORDS_PER_FILE = "multipleRecordsPerFile";
062: /**
063: *
064: */
065: public static final String ATTR_RECORD_DELIM = "recordDelimiter";
066: /**
067: *
068: */
069: public static final String ATTR_MAX_BYTES_PER_RECORD = "maxBytesPerRecord";
070: /**
071: *
072: */
073: public static final String ATTR_PART = "part";
074:
075: /**
076: *
077: */
078: public static final String ATTR_PROTECT_ENABLED = "protect";
079: /**
080: *
081: */
082: public static final String ATTR_ARCHIVE_ENABLED = "archive";
083: /**
084: *
085: */
086: public static final String ATTR_STAGING_ENABLED = "stage";
087:
088: /**
089: *
090: */
091: public static final String ATTR_PROTECT_DIR = "protectDirectory";
092: public static final String ATTR_PROTECT_DIR_IS_RELATIVE = "protectDirIsRelative";
093: /**
094: *
095: */
096: public static final String ATTR_ARCHIVE_DIR = "archiveDirectory";
097: public static final String ATTR_ARCHIVE_DIR_IS_RELATIVE = "archiveDirIsRelative";
098: /**
099: *
100: */
101: public static final String ATTR_STAGING_DIR = "stageDirectory";
102: public static final String ATTR_STAGING_DIR_IS_RELATIVE = "stageDirIsRelative";
103:
104: /**
105: *
106: * @param val
107: */
108: public void setFileUseType(String val);
109:
110: /**
111: *
112: * @return
113: */
114: public String getFileUseType();
115:
116: /**
117: *
118: * @param val
119: */
120: public void setFileEncodingStyle(String val);
121:
122: /**
123: *
124: * @return
125: */
126: public String getFileEncodingStyle();
127:
128: /**
129: *
130: * @param val
131: */
132: public void setFileType(String val);
133:
134: /**
135: *
136: * @return
137: */
138: public String getFileType();
139:
140: /**
141: *
142: * @param val
143: */
144: public void setFileName(String val);
145:
146: /**
147: *
148: * @return
149: */
150: public String getFileName();
151:
152: /**
153: *
154: * @param val
155: */
156: public void setFileNameIsPattern(boolean val);
157:
158: /**
159: *
160: * @return
161: */
162: public boolean getFileNameIsPattern();
163:
164: /**
165: *
166: * @param val
167: */
168: public void setPollingInterval(long val);
169:
170: /**
171: *
172: * @return
173: */
174: public Long getPollingInterval();
175:
176: /**
177: *
178: * @param val
179: */
180: public void setMaxBytesPerRecord(long val);
181:
182: /**
183: *
184: * @return
185: */
186: public Long getMaxBytesPerRecord();
187:
188: /**
189: *
190: * @param val
191: */
192: public void setRecordDelimiter(String val);
193:
194: /**
195: *
196: * @return
197: */
198: public String getRecordDelimiter();
199:
200: /**
201: *
202: * @param val
203: */
204: public void setAddEOL(boolean val);
205:
206: /**
207: *
208: * @return
209: */
210: public boolean getAddEOL();
211:
212: /**
213: *
214: * @param val
215: */
216: public void setRemoveEOL(boolean val);
217:
218: /**
219: *
220: * @return
221: */
222: public boolean getRemoveEOL();
223:
224: /**
225: *
226: * @param val
227: */
228: public void setMultipleRecordsPerFile(boolean val);
229:
230: /**
231: *
232: * @return
233: */
234: public boolean getMultipleRecordsPerFile();
235:
236: /**
237: *
238: * @param val
239: */
240: public void setPart(String val);
241:
242: /**
243: *
244: * @return
245: */
246: public String getPart();
247:
248: public boolean getArchiveEnabled();
249:
250: public void setArchiveEnabled(boolean b);
251:
252: public boolean getProtectEnabled();
253:
254: public void setProtectEnabled(boolean b);
255:
256: public boolean getStagingEnabled();
257:
258: public void setStagingEnabled(boolean b);
259:
260: public String getArchiveDirectory();
261:
262: public void setArchiveDirectory(String s);
263:
264: public String getProtectDirectory();
265:
266: public void setProtectDirectory(String s);
267:
268: public String getStagingDirectory();
269:
270: public void setStagingDirectory(String s);
271:
272: public boolean getArchiveDirIsRelative();
273:
274: public void setArchiveDirIsRelative(boolean b);
275:
276: public boolean getProtectDirIsRelative();
277:
278: public void setProtectDirIsRelative(boolean b);
279:
280: public boolean getStagingDirIsRelative();
281:
282: public void setStagingDirIsRelative(boolean b);
283: }
|