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: IVariableChildAttributes.java 3614 2006-12-11 22:36:52Z mpreston $
23: *
24: */
25: package com.bostechcorp.cbesb.common.mdl;
26:
27: /**
28: * This interface extends FormatChildAttributes and represents the child level
29: * attributes specific to variable format. Some of the functionality provided:
30: * 1. Get/Set min length
31: * 2. Get/Set max length
32: * 3. Get/Set tag
33: *
34: */
35: public interface IVariableChildAttributes extends
36: IFormatChildAttributes {
37:
38: /**
39: * Get the value of minLength attribute.
40: *
41: * @return the value of minLength attribute
42: */
43: public int getMinLength();
44:
45: /**
46: * Set the value of minLength attribute.
47: *
48: * @param minLength int
49: */
50: public void setMinLength(int minLength);
51:
52: /**
53: * Get the value of maxLength attribute.
54: *
55: * @return the value of maxLength attribute
56: */
57: public int getMaxLength();
58:
59: /**
60: * Set the value of maxLength attribute.
61: *
62: * @param maxLength int
63: */
64: public void setMaxLength(int maxLength);
65:
66: /**
67: * Get the value of tag attribute.
68: *
69: * @return the value of tag attribute
70: */
71: public String getTag();
72:
73: /**
74: * Set the value of tag attribute.
75: *
76: * @param tag String
77: */
78: public void setTag(String tag);
79: }
|