1 // license-header java merge-point 2 // 3 // Attention: generated code (by Metafacade.vsl) - do not modify! 4 // 5 package org.andromda.cartridges.hibernate.metafacades; 6 7 import org.andromda.metafacades.uml.EntityAttribute; 8 9 /** 10 * Represents the attribute of a HIbernate entity. 11 * 12 * Metafacade interface to be used by AndroMDA cartridges. 13 */ 14 public interface HibernateEntityAttribute 15 extends EntityAttribute 16 { 17 /** 18 * Indicates the metafacade type (used for metafacade mappings). 19 * 20 * @return boolean always <code>true</code> 21 */ 22 public boolean isHibernateEntityAttributeMetaType(); 23 24 /** 25 * TODO: Model Documentation for 26 * org.andromda.cartridges.hibernate.metafacades.HibernateEntityAttribute.concatColumnName 27 * @param prefix String 28 * @param name String 29 * @return String 30 */ 31 public String concatColumnName(String prefix, String name); 32 33 /** 34 * TODO: Model Documentation for 35 * org.andromda.cartridges.hibernate.metafacades.HibernateEntityAttribute.formula 36 * @return String 37 */ 38 public String getFormula(); 39 40 /** 41 * TODO: Model Documentation for 42 * org.andromda.cartridges.hibernate.metafacades.HibernateEntityAttribute.fullyQualifiedHibernateType 43 * @return String 44 */ 45 public String getFullyQualifiedHibernateType(); 46 47 /** 48 * TODO: Model Documentation for 49 * org.andromda.cartridges.hibernate.metafacades.HibernateEntityAttribute.xmlTagName 50 * @return String 51 */ 52 public String getXmlTagName(); 53 54 /** 55 * TODO: Model Documentation for 56 * org.andromda.cartridges.hibernate.metafacades.HibernateEntityAttribute.containsEmbeddedObject 57 * @return boolean 58 */ 59 public boolean isContainsEmbeddedObject(); 60 61 /** 62 * Specifies whether a mapped column should be included in SQL INSERT statements. 63 * @return boolean 64 */ 65 public boolean isInsertEnabled(); 66 67 /** 68 * Whether or not this attribute should be lazily loaded. 69 * @return boolean 70 */ 71 public boolean isLazy(); 72 73 /** 74 * Specifies whether a mapped column should be included in SQL UPDATE statements. 75 * @return boolean 76 */ 77 public boolean isUpdateEnabled(); 78 }