1 // license-header java merge-point 2 // 3 // Attention: generated code (by Metafacade.vsl) - do not modify! 4 // 5 package org.andromda.cartridges.jsf.metafacades; 6 7 import java.util.Collection; 8 import org.andromda.metafacades.uml.ManageableEntityAttribute; 9 import org.andromda.metafacades.uml.ParameterFacade; 10 11 /** 12 * TODO: Model Documentation for 13 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute 14 * 15 * Metafacade interface to be used by AndroMDA cartridges. 16 */ 17 public interface JSFManageableEntityAttribute 18 extends ManageableEntityAttribute 19 { 20 /** 21 * Indicates the metafacade type (used for metafacade mappings). 22 * 23 * @return boolean always <code>true</code> 24 */ 25 public boolean isJSFManageableEntityAttributeMetaType(); 26 27 /** 28 * TODO: Model Documentation for 29 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.backingListName 30 * @return String 31 */ 32 public String getBackingListName(); 33 34 /** 35 * The String format to use when referring to this date, only makes sense when the type is a 36 * date type. 37 * @return String 38 */ 39 public String getDateFormat(); 40 41 /** 42 * TODO: Model Documentation for 43 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.dateFormatter 44 * @return String 45 */ 46 public String getDateFormatter(); 47 48 /** 49 * TODO: Model Documentation for 50 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.defaultDateFormat 51 * @return String 52 */ 53 public String getDefaultDateFormat(); 54 55 /** 56 * TODO: Model Documentation for 57 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.defaultTimeFormat 58 * @return String 59 */ 60 public String getDefaultTimeFormat(); 61 62 /** 63 * TODO: Model Documentation for 64 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.dummyValue 65 * @return String 66 */ 67 public String getDummyValue(); 68 69 /** 70 * Gets the unique id of this attribute on the form. 71 * @param ownerParameter ParameterFacade 72 * @return String 73 */ 74 public String getFormPropertyId(ParameterFacade ownerParameter); 75 76 /** 77 * Retrieves the name of the form property for this attribute by taking the name of the owner 78 * property. 79 * @param ownerParameter ParameterFacade 80 * @return String 81 */ 82 public String getFormPropertyName(ParameterFacade ownerParameter); 83 84 /** 85 * TODO: Model Documentation for 86 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.format 87 * @return String 88 */ 89 public String getFormat(); 90 91 /** 92 * TODO: Model Documentation for 93 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputTableIdentifierColumns 94 * @return String 95 */ 96 public String getInputTableIdentifierColumns(); 97 98 /** 99 * TODO: Model Documentation for 100 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.labelListName 101 * @return String 102 */ 103 public String getLabelListName(); 104 105 /** 106 * The max length allowed in the input component 107 * @return String 108 */ 109 public String getMaxLength(); 110 111 /** 112 * TODO: Model Documentation for 113 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.messageKey 114 * @return String 115 */ 116 public String getMessageKey(); 117 118 /** 119 * TODO: Model Documentation for 120 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.messageValue 121 * @return String 122 */ 123 public String getMessageValue(); 124 125 /** 126 * The key to lookup the online help documentation. This documentation is gathered from the 127 * documentation entered by the user, as well as analyzing the model. 128 * @return String 129 */ 130 public String getOnlineHelpKey(); 131 132 /** 133 * The online help documentation. This documentation is gathered from the documentation entered 134 * by the user, as well as analyzing the model. The format is HTML without any style. 135 * @return String 136 */ 137 public String getOnlineHelpValue(); 138 139 /** 140 * TODO: Model Documentation for 141 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.timeFormatter 142 * @return String 143 */ 144 public String getTimeFormatter(); 145 146 /** 147 * TODO: Model Documentation for 148 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.validWhen 149 * @return String 150 */ 151 public String getValidWhen(); 152 153 /** 154 * TODO: Model Documentation for 155 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.getValidatorArgs 156 * @param validatorType String 157 * @return Collection 158 */ 159 public Collection getValidatorArgs(String validatorType); 160 161 /** 162 * All validator types for this attribute. 163 * @return Collection 164 */ 165 public Collection getValidatorTypes(); 166 167 /** 168 * The validator variables. 169 * @return Collection 170 */ 171 public Collection getValidatorVars(); 172 173 /** 174 * TODO: Model Documentation for 175 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.valueListDummyValue 176 * @return String 177 */ 178 public String getValueListDummyValue(); 179 180 /** 181 * TODO: Model Documentation for 182 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.valueListName 183 * @return String 184 */ 185 public String getValueListName(); 186 187 /** 188 * The widget to use when rendering this attribute 189 * @return String 190 */ 191 public String getWidgetType(); 192 193 /** 194 * TODO: Model Documentation for 195 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.equalValidator 196 * @return boolean 197 */ 198 public boolean isEqualValidator(); 199 200 /** 201 * Whether or not this attribute should be hidden from the view 202 * @return boolean 203 */ 204 public boolean isHidden(); 205 206 /** 207 * TODO: Model Documentation for 208 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputCheckbox 209 * @return boolean 210 */ 211 public boolean isInputCheckbox(); 212 213 /** 214 * TODO: Model Documentation for 215 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputFile 216 * @return boolean 217 */ 218 public boolean isInputFile(); 219 220 /** 221 * TODO: Model Documentation for 222 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputHidden 223 * @return boolean 224 */ 225 public boolean isInputHidden(); 226 227 /** 228 * TODO: Model Documentation for 229 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputMultibox 230 * @return boolean 231 */ 232 public boolean isInputMultibox(); 233 234 /** 235 * TODO: Model Documentation for 236 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputRadio 237 * @return boolean 238 */ 239 public boolean isInputRadio(); 240 241 /** 242 * TODO: Model Documentation for 243 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputSecret 244 * @return boolean 245 */ 246 public boolean isInputSecret(); 247 248 /** 249 * TODO: Model Documentation for 250 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputSelect 251 * @return boolean 252 */ 253 public boolean isInputSelect(); 254 255 /** 256 * TODO: Model Documentation for 257 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputTable 258 * @return boolean 259 */ 260 public boolean isInputTable(); 261 262 /** 263 * TODO: Model Documentation for 264 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputText 265 * @return boolean 266 */ 267 public boolean isInputText(); 268 269 /** 270 * TODO: Model Documentation for 271 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputTextarea 272 * @return boolean 273 */ 274 public boolean isInputTextarea(); 275 276 /** 277 * TODO: Model Documentation for 278 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.inputTypePresent 279 * @return boolean 280 */ 281 public boolean isInputTypePresent(); 282 283 /** 284 * True if this attribute is of a type that cannot easily be represented as a textual string and 285 * would be an ideal candidate for HTTP's support for file-upload. 286 * @return boolean 287 */ 288 public boolean isNeedsFileUpload(); 289 290 /** 291 * TODO: Model Documentation for 292 * org.andromda.cartridges.jsf.metafacades.JSFManageableEntityAttribute.plaintext 293 * @return boolean 294 */ 295 public boolean isPlaintext(); 296 297 /** 298 * True if this field is a date type and the date format is not be interpreted strictly. 299 * @return boolean 300 */ 301 public boolean isStrictDateFormat(); 302 303 /** 304 * Indicates whether or not this attribute requires some kind of validation (the collection of 305 * validator types is not empty). 306 * @return boolean 307 */ 308 public boolean isValidationRequired(); 309 }