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("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);
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("WebProperty\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getDescription()
return (String)this.getValue(DESCRIPTION);
|
public java.lang.String | getName()
return getAttributeValue(NAME);
|
public java.lang.String | getValue()
return getAttributeValue(VALUE);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setDescription(java.lang.String value)
this.setValue(DESCRIPTION, value);
|
public void | setName(java.lang.String value)
setAttributeValue(NAME, value);
|
public void | setValue(java.lang.String value)
setAttributeValue(VALUE, value);
|
public void | validate()
boolean restrictionFailure = false;
// Validating property name
if (getName() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getName() == null", "name", this); // NOI18N
}
// Validating property value
if (getValue() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getValue() == null", "value", this); // NOI18N
}
// Validating property description
if (getDescription() != null) {
}
|