ServiceQnamepublic class ServiceQname extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class ServiceQname matches the schema element service-qname
Generated on Wed Aug 13 12:12:27 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | NAMESPACEURI | public static final String | LOCALPART |
Constructors Summary |
---|
public ServiceQname() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public ServiceQname(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("namespaceURI", // NOI18N
NAMESPACEURI,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("localpart", // NOI18N
LOCALPART,
Common.TYPE_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("NamespaceURI"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getNamespaceURI();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(NAMESPACEURI, 0, str, indent);
str.append(indent);
str.append("Localpart"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getLocalpart();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(LOCALPART, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("ServiceQname\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getLocalpart()
return (String)this.getValue(LOCALPART);
| public java.lang.String | getNamespaceURI()
return (String)this.getValue(NAMESPACEURI);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setLocalpart(java.lang.String value)
this.setValue(LOCALPART, value);
| public void | setNamespaceURI(java.lang.String value)
this.setValue(NAMESPACEURI, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property namespaceURI
if (getNamespaceURI() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getNamespaceURI() == null", "namespaceURI", this); // NOI18N
}
// Validating property localpart
if (getLocalpart() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getLocalpart() == null", "localpart", this); // NOI18N
}
|
|