PmInusepublic class PmInuse extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class PmInuse matches the schema element pm-inuse
Generated on Wed Aug 13 10:43:32 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | PM_IDENTIFIER | public static final String | PM_VERSION |
Constructors Summary |
---|
public PmInuse() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public PmInuse(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("pm-identifier", // NOI18N
PM_IDENTIFIER,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("pm-version", // NOI18N
PM_VERSION,
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("PmIdentifier"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getPmIdentifier();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(PM_IDENTIFIER, 0, str, indent);
str.append(indent);
str.append("PmVersion"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getPmVersion();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(PM_VERSION, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("PmInuse\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getPmIdentifier()
return (String)this.getValue(PM_IDENTIFIER);
| public java.lang.String | getPmVersion()
return (String)this.getValue(PM_VERSION);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setPmIdentifier(java.lang.String value)
this.setValue(PM_IDENTIFIER, value);
| public void | setPmVersion(java.lang.String value)
this.setValue(PM_VERSION, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property pmIdentifier
if (getPmIdentifier() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getPmIdentifier() == null", "pmIdentifier", this); // NOI18N
}
// Validating property pmVersion
if (getPmVersion() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getPmVersion() == null", "pmVersion", this); // NOI18N
}
|
|