01: /**
02: * $Id: TypeElementDescriptor.java,v 1.6 2003/12/01 10:47:44 vv138407 Exp $
03: * Copyright 2002-2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.providers.simplewebservice.wsdl;
14:
15: /**
16: * This interface represents an element defined within a complex type.
17: *
18: */
19: public interface TypeElementDescriptor {
20:
21: /**
22: * Get the name of this element.
23: *
24: * @return the element name.
25: */
26: public String getName();
27:
28: /**
29: * Get the type of the element.
30: *
31: * @return the type of the element.
32: */
33: public String getType();
34:
35: /**
36: * Get any default value of the element.
37: *
38: * @return any default value of the element.
39: */
40: public String getDefaultValue();
41:
42: public void setIsRepeated(boolean isRepeated);
43:
44: public boolean isRepeated();
45: }
|