Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 42 43 package org.jfree.xml.generator.model; 44 45 48 public class PropertyInfo extends TypeInfo { 49 50 51 private boolean preserve; 52 53 54 private boolean readMethodAvailable; 55 56 57 private boolean writeMethodAvailable; 58 59 60 private PropertyType propertyType; 61 62 63 private String xmlName; 64 65 66 private String xmlHandler; 67 68 74 public PropertyInfo(final String name, final Class type) { 75 super(name, type); 76 this.propertyType = PropertyType.ELEMENT; 77 } 78 79 84 public boolean isPreserve() { 85 return this.preserve; 86 } 87 88 93 public void setPreserve(final boolean preserve) { 94 this.preserve = preserve; 95 } 96 97 102 public PropertyType getPropertyType() { 103 return this.propertyType; 104 } 105 106 111 public void setPropertyType(final PropertyType propertyType) { 112 if (propertyType == null) { 113 throw new NullPointerException (); 114 } 115 this.propertyType = propertyType; 116 } 117 118 123 public String getXmlHandler() { 124 return this.xmlHandler; 125 } 126 127 132 public void setXmlHandler(final String xmlHandler) { 133 this.xmlHandler = xmlHandler; 134 } 135 136 141 public String getXmlName() { 142 return this.xmlName; 143 } 144 145 150 public void setXmlName(final String xmlName) { 151 this.xmlName = xmlName; 152 } 153 154 160 public boolean isReadMethodAvailable() { 161 return this.readMethodAvailable; 162 } 163 164 169 public void setReadMethodAvailable(final boolean readMethodAvailable) { 170 this.readMethodAvailable = readMethodAvailable; 171 } 172 173 179 public boolean isWriteMethodAvailable() { 180 return this.writeMethodAvailable; 181 } 182 183 188 public void setWriteMethodAvailable(final boolean writeMethodAvailable) { 189 this.writeMethodAvailable = writeMethodAvailable; 190 } 191 192 } 193
| Popular Tags
|