1 19 20 package org.netbeans.modules.j2ee.sun.dd.api; 21 22 import org.netbeans.modules.schema2beans.BaseBean; 23 24 32 public interface CommonDDBean { 33 34 public static final int MERGE_INTERSECT = BaseBean.MERGE_INTERSECT; 35 public static final int MERGE_UNION = BaseBean.MERGE_UNION; 36 public static final int MERGE_UPDATE = BaseBean.MERGE_UPDATE; 37 38 public void merge(CommonDDBean root, int mode); 39 40 44 public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl); 45 49 public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl); 50 56 public Object getValue(String propertyName); 57 58 public Object [] getValues(String name); 59 60 public Object getValue(String name, int index); 61 62 public void setValue(String name, Object value); 63 64 public void setValue(String name, Object [] value); 65 66 public void setValue(String name, int index, Object value); 67 68 public String getAttributeValue(String name); 69 70 public String getAttributeValue(String propName, String name); 71 72 public String getAttributeValue(String propName, int index, String name); 73 74 public void setAttributeValue(String name, String value); 75 76 public void setAttributeValue(String propName, int index, String name, String value); 77 78 public void setAttributeValue(String propName, String name, String value); 79 80 public String [] findPropertyValue(String propName, Object value); 81 82 public int addValue(String name, Object value); 83 84 public int removeValue(String name, Object value); 85 86 public void removeValue(String name, int index); 87 88 public int size(String name); 89 90 91 122 public void write(java.io.OutputStream os) throws java.io.IOException ; 123 124 public void write(java.io.Writer w) throws java.io.IOException , org.netbeans.modules.j2ee.sun.dd.api.DDException; 125 126 128 public Object clone(); 129 130 132 public CommonDDBean cloneVersion(String version); 133 134 137 public String dumpBeanNode(); 138 139 public CommonDDBean getPropertyParent(String name); 140 141 } 142 | Popular Tags |