GenClassespublic class GenClasses extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class GenClasses matches the schema element gen-classes
Generated on Wed Aug 13 10:43:32 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | REMOTE_IMPL | public static final String | LOCAL_IMPL | public static final String | REMOTE_HOME_IMPL | public static final String | LOCAL_HOME_IMPL |
Constructors Summary |
---|
public GenClasses() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public GenClasses(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("remote-impl", // NOI18N
REMOTE_IMPL,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("local-impl", // NOI18N
LOCAL_IMPL,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("remote-home-impl", // NOI18N
REMOTE_HOME_IMPL,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("local-home-impl", // NOI18N
LOCAL_HOME_IMPL,
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("RemoteImpl"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getRemoteImpl();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(REMOTE_IMPL, 0, str, indent);
str.append(indent);
str.append("LocalImpl"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getLocalImpl();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(LOCAL_IMPL, 0, str, indent);
str.append(indent);
str.append("RemoteHomeImpl"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getRemoteHomeImpl();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(REMOTE_HOME_IMPL, 0, str, indent);
str.append(indent);
str.append("LocalHomeImpl"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getLocalHomeImpl();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(LOCAL_HOME_IMPL, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("GenClasses\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getLocalHomeImpl()
return (String)this.getValue(LOCAL_HOME_IMPL);
| public java.lang.String | getLocalImpl()
return (String)this.getValue(LOCAL_IMPL);
| public java.lang.String | getRemoteHomeImpl()
return (String)this.getValue(REMOTE_HOME_IMPL);
| public java.lang.String | getRemoteImpl()
return (String)this.getValue(REMOTE_IMPL);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setLocalHomeImpl(java.lang.String value)
this.setValue(LOCAL_HOME_IMPL, value);
| public void | setLocalImpl(java.lang.String value)
this.setValue(LOCAL_IMPL, value);
| public void | setRemoteHomeImpl(java.lang.String value)
this.setValue(REMOTE_HOME_IMPL, value);
| public void | setRemoteImpl(java.lang.String value)
this.setValue(REMOTE_IMPL, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property remoteImpl
if (getRemoteImpl() != null) {
}
// Validating property localImpl
if (getLocalImpl() != null) {
}
// Validating property remoteHomeImpl
if (getRemoteHomeImpl() != null) {
}
// Validating property localHomeImpl
if (getLocalHomeImpl() != null) {
}
|
|