WebserviceDescriptionpublic class WebserviceDescription extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class WebserviceDescription matches the schema element webservice-description
Generated on Wed Aug 13 12:12:27 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | WEBSERVICE_DESCRIPTION_NAME | public static final String | WSDL_PUBLISH_LOCATION |
Constructors Summary |
---|
public WebserviceDescription() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public WebserviceDescription(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("webservice-description-name", // NOI18N
WEBSERVICE_DESCRIPTION_NAME,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("wsdl-publish-location", // NOI18N
WSDL_PUBLISH_LOCATION,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("WebserviceDescriptionName"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getWebserviceDescriptionName();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(WEBSERVICE_DESCRIPTION_NAME, 0, str, indent);
str.append(indent);
str.append("WsdlPublishLocation"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getWsdlPublishLocation();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(WSDL_PUBLISH_LOCATION, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("WebserviceDescription\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getWebserviceDescriptionName()
return (String)this.getValue(WEBSERVICE_DESCRIPTION_NAME);
| public java.lang.String | getWsdlPublishLocation()
return (String)this.getValue(WSDL_PUBLISH_LOCATION);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setWebserviceDescriptionName(java.lang.String value)
this.setValue(WEBSERVICE_DESCRIPTION_NAME, value);
| public void | setWsdlPublishLocation(java.lang.String value)
this.setValue(WSDL_PUBLISH_LOCATION, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property webserviceDescriptionName
if (getWebserviceDescriptionName() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getWebserviceDescriptionName() == null", "webserviceDescriptionName", this); // NOI18N
}
// Validating property wsdlPublishLocation
if (getWsdlPublishLocation() != null) {
}
|
|