1 // license-header java merge-point 2 // 3 // Attention: generated code (by Metafacade.vsl) - do not modify! 4 // 5 package org.andromda.cartridges.bpm4struts.metafacades; 6 7 import org.andromda.metafacades.uml.ManageableEntityAttribute; 8 9 /** 10 * TODO: Model Documentation for 11 * org.andromda.cartridges.bpm4struts.metafacades.StrutsManageableEntityAttribute 12 * 13 * Metafacade interface to be used by AndroMDA cartridges. 14 */ 15 public interface StrutsManageableEntityAttribute 16 extends ManageableEntityAttribute 17 { 18 /** 19 * Indicates the metafacade type (used for metafacade mappings). 20 * 21 * @return boolean always <code>true</code> 22 */ 23 public boolean isStrutsManageableEntityAttributeMetaType(); 24 25 /** 26 * The String format to use when referring to this date, only makes sense when the type is a 27 * date type. 28 * @return String 29 */ 30 public String getDateFormat(); 31 32 /** 33 * The number of columns for this field, null if default browser value is desired. 34 * @return Integer 35 */ 36 public Integer getFieldColumnCount(); 37 38 /** 39 * The number of rows for this field, null if default browser value is desired. 40 * @return Integer 41 */ 42 public Integer getFieldRowCount(); 43 44 /** 45 * TODO: Model Documentation for 46 * org.andromda.cartridges.bpm4struts.metafacades.StrutsManageableEntityAttribute.messageKey 47 * @return String 48 */ 49 public String getMessageKey(); 50 51 /** 52 * TODO: Model Documentation for 53 * org.andromda.cartridges.bpm4struts.metafacades.StrutsManageableEntityAttribute.messageValue 54 * @return String 55 */ 56 public String getMessageValue(); 57 58 /** 59 * The key to lookup the online help documentation. This documentation is gathered from the 60 * documentation entered by the user, as well as analyzing the model. 61 * @return String 62 */ 63 public String getOnlineHelpKey(); 64 65 /** 66 * The online help documentation. This documentation is gathered from the documentation entered 67 * by the user, as well as analyzing the model. The format is HTML without any style. 68 * @return String 69 */ 70 public String getOnlineHelpValue(); 71 72 /** 73 * The widget to use when rendering this attribute 74 * @return String 75 */ 76 public String getWidgetType(); 77 78 /** 79 * Whether or not this attribute should be hidden from the view 80 * @return boolean 81 */ 82 public boolean isHidden(); 83 84 /** 85 * True if this attribute is of a type that cannot easily be represented as a textual string and 86 * would be an ideal candidate for HTTP's support for file-upload. 87 * @return boolean 88 */ 89 public boolean isNeedsFileUpload(); 90 91 /** 92 * True if this parameter has a name that can properly be handled by Jakarta commons (this lib 93 * is used by Struts but contains a bug) 94 * @return boolean 95 */ 96 public boolean isSafeNamePresent(); 97 98 /** 99 * True if this field is a date type and the date format is not be interpreted strictly. 100 * @return boolean 101 */ 102 public boolean isStrictDateFormat(); 103 }