Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public int | addPropertyElement(com.sun.enterprise.tools.common.dd.ejb.PropertyElement value)
return this.addValue(PROPERTY, 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("PropertyElement["+this.sizePropertyElement()+"]"); // NOI18N
for(int i=0; i<this.sizePropertyElement(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getPropertyElement(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(PROPERTY, i, str, indent);
}
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("SchemaGeneratorProperties\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public com.sun.enterprise.tools.common.dd.ejb.PropertyElement | getPropertyElement(int index)
return (PropertyElement)this.getValue(PROPERTY, index);
|
public com.sun.enterprise.tools.common.dd.ejb.PropertyElement[] | getPropertyElement()
return (PropertyElement[])this.getValues(PROPERTY);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public int | removePropertyElement(com.sun.enterprise.tools.common.dd.ejb.PropertyElement value)
return this.removeValue(PROPERTY, value);
|
public void | setPropertyElement(int index, com.sun.enterprise.tools.common.dd.ejb.PropertyElement value)
this.setValue(PROPERTY, index, value);
|
public void | setPropertyElement(com.sun.enterprise.tools.common.dd.ejb.PropertyElement[] value)
this.setValue(PROPERTY, value);
|
public int | sizePropertyElement()
return this.size(PROPERTY);
|
public void | validate()
boolean restrictionFailure = false;
// Validating property propertyElement
for (int _index = 0; _index < sizePropertyElement(); ++_index) {
com.sun.enterprise.tools.common.dd.ejb.PropertyElement element = getPropertyElement(_index);
if (element != null) {
element.validate();
}
}
|