Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public int | addMethod(com.sun.enterprise.tools.common.dd.ejb.Method value)
return this.addValue(METHOD, value);
|
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("Description"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getDescription();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(DESCRIPTION, 0, str, indent);
str.append(indent);
str.append("Method["+this.sizeMethod()+"]"); // NOI18N
for(int i=0; i<this.sizeMethod(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getMethod(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(METHOD, i, str, indent);
}
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("CheckpointedMethods\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getDescription()
return (String)this.getValue(DESCRIPTION);
|
public com.sun.enterprise.tools.common.dd.ejb.Method | getMethod(int index)
return (Method)this.getValue(METHOD, index);
|
public com.sun.enterprise.tools.common.dd.ejb.Method[] | getMethod()
return (Method[])this.getValues(METHOD);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public int | removeMethod(com.sun.enterprise.tools.common.dd.ejb.Method value)
return this.removeValue(METHOD, value);
|
public void | setDescription(java.lang.String value)
this.setValue(DESCRIPTION, value);
|
public void | setMethod(int index, com.sun.enterprise.tools.common.dd.ejb.Method value)
this.setValue(METHOD, index, value);
|
public void | setMethod(com.sun.enterprise.tools.common.dd.ejb.Method[] value)
this.setValue(METHOD, value);
|
public int | sizeMethod()
return this.size(METHOD);
|
public void | validate()
boolean restrictionFailure = false;
// Validating property description
if (getDescription() != null) {
}
// Validating property method
if (sizeMethod() == 0) {
throw new org.netbeans.modules.schema2beans.ValidateException("sizeMethod() == 0", "method", this); // NOI18N
}
for (int _index = 0; _index < sizeMethod(); ++_index) {
com.sun.enterprise.tools.common.dd.ejb.Method element = getMethod(_index);
if (element != null) {
element.validate();
}
}
|