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