001// license-header java merge-point
002//
003// Attention: generated code (by Metafacade.vsl) - do not modify!
004//
005package org.andromda.cartridges.bpm4struts.metafacades;
006
007import org.andromda.metafacades.uml.AttributeFacade;
008
009/**
010 * TODO: Model Documentation for org.andromda.cartridges.bpm4struts.metafacades.StrutsAttribute
011 *
012 * Metafacade interface to be used by AndroMDA cartridges.
013 */
014public interface StrutsAttribute
015    extends AttributeFacade
016{
017    /**
018     * Indicates the metafacade type (used for metafacade mappings).
019     *
020     * @return boolean always <code>true</code>
021     */
022    public boolean isStrutsAttributeMetaType();
023
024    /**
025     * If this attribute is a date type this property represents the format in which this date is to
026     * be presented to the end-user. Null otherwise.
027     * @return String
028     */
029    public String getDateFormat();
030
031    /**
032     * TODO: Model Documentation for
033     * org.andromda.cartridges.bpm4struts.metafacades.StrutsAttribute.getDummyValue
034     * @param seed int
035     * @return String
036     */
037    public String getDummyValue(int seed);
038
039    /**
040     * True if this parameter has a name that can properly be handled by Jakarta commons (this lib
041     * is used by Struts but contains a bug)
042     * @return boolean
043     */
044    public boolean isSafeNamePresent();
045}