public static final class TableTemplate.Mapping extends Object implements Serializable, Cloneable, de.espirit.firstspirit.common.xml.XMLSerializerHook
Constructor and Description |
---|
TableTemplate.Mapping() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterLoad, beforeSave
public void init(UserService userService, EntityType table, GomFormElement formElement, List<Language> langs)
public TableTemplate.Mapping clone()
public void setAttributeReference(String[] ref, String lang, boolean langDependent)
public String[] getAttributeReference(String lang)
lang
- language abbreviationpublic boolean isLanguageDependent()
public boolean isVisible()
public void setVisible(boolean value)
public int getColumnWidth()
public void setColumnWidth(int value)
public String getName()
public void setName(String name)
public String getType()
public Class<?> getContentType()
public Class<?> getValueType()
public EntityType getEntityType()
public Attribute<?> getDBAttribute(String langAbbreviation, EntityType entityType)
public String getDBReferenceName()
public void setDBReferenceName(String value)
public EntityType getReferencedTable()
getDBReferenceName()
delivers
null
)public boolean takesRelations()
public boolean takesMany()
public boolean ignoreContentType()
public String[] getValueListAttribute()
public void setValueListAttribute(String[] value)
public Object getValueFromEntity(Object persistentObject, String language)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500