Last change
on this file since 12188 was 12188, checked in by kjdon, 18 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
526 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.schema;
|
---|
2 |
|
---|
3 | public class ChildWrapper
|
---|
4 | {
|
---|
5 | int minOccurs;
|
---|
6 | int maxOccurs;
|
---|
7 |
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * The default number of occurrences for an element is 1 (one) for
|
---|
11 | * both minimum and maximum counts.
|
---|
12 | */
|
---|
13 | public ChildWrapper()
|
---|
14 | {
|
---|
15 | this.minOccurs = 1;
|
---|
16 | this.maxOccurs = 1;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public void setMinOccurs(int minOccurs)
|
---|
20 | {
|
---|
21 | this.minOccurs = minOccurs;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setMaxOccurs(int maxOccurs)
|
---|
25 | {
|
---|
26 | this.maxOccurs = maxOccurs;
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.