Package com.easydesk.attribute
Class AbstractMapAttribute
java.lang.Object
com.easydesk.om.BaseAttributeValue
com.easydesk.om.AttributeValue
com.easydesk.attribute.AbstractMapAttribute
- All Implemented Interfaces:
Cacheable,Observed,Retrievable,Serializable,ColumnAccessByName,ObjectModel,Persistent
This is a superclass for map attributes..
- Version:
- $Revision: 1.17 $ $Date: 2008/09/06 03:21:27 $
- Author:
- Youngho Cho
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.easydesk.om.AttributeValue
AttributeValue.AccessEnum -
Field Summary
Fields inherited from class com.easydesk.om.AttributeValue
activitySet, chainedFields inherited from interface com.easydesk.validator.Retrievable
KEY_SEPERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayedValue(String type) 기본 locale(아이템의 locale)로 화면에 표시할 값을 구한다.getDisplayedValue(String type, Locale locale) 지정한 locale 로 화면에 표시할 값을 구한다.voidinit()DOCUMENT ME!loadResources(ActivitySet activitySet) Loads from database data specific for this Attribute including Name.voidsetResources(Object resources) DOCUMENT ME!Methods inherited from class com.easydesk.om.AttributeValue
alwaysNeedActivity, clear, copy, copy, endActivitySet, getActivity, getActivityDescription, getAttachment, getChainedValue, getChainedValue, getChainedValue, getInputValue, getLocalizedValue, getLocalizedValue, getLocalizedValue, getLocalizedValue, getLocalizedValues, getLocalizedValues, getMethodCache, getModuleAttribute, getNewInstance, getNewInstance, getNumericValues, getNumericValues, getNumericValuesAsString, getNumericValuesAsString, getObserverOption, getOptionIdAsString, getOptionIds, getOptionIds, getOptionIdsAsString, getOptionIdsAsString, getOptionValues, getPossibleTransitionCount, getPossibleTransitionCount, getPrimitiveOptionIds, getPrimitiveUserIds, getQueryKey, getRelativePath, getRelativePath, getRepository, getResource, getTransactionId, getUser, getUserIds, getValueList, getValueList, getValues, getValues, getValuesAsString, getValuesAsString, hasAlreadyChained, hasValue, isModified, isQuickSearchAttribute, isSet, isSetOnly, needActivity, performAfter, performBefore, register, save, setActivity, setActivityDescription, setAttachment, setChainedValue, setInputValue, setNumericValue, setNumericValueOnly, setNumericValues, setOptionId, setOptionIdOnly, setOptionIds, setOptionValues, setPrimitiveOptionIds, setPrimitiveUserIds, setProperties, setTransactionId, setUser, setUserId, setUserIdOnly, setUserIds, setValue, setValueOnly, setValues, startActivitySet, toStringMethods inherited from class com.easydesk.om.BaseAttributeValue
copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getAttributeOption, getAttributeOption, getByName, getByPeerName, getByPosition, getDepend, getDepend, getDependId, getEasyDeskUserImpl, getEasyDeskUserImpl, getFieldNames, getForeignKeyForAttribute, getForeignKeyForAttributeOption, getForeignKeyForDepend, getForeignKeyForEasyDeskUserImpl, getForeignKeyForItem, getItem, getItem, getItemId, getNumericValue, getOptionId, getPeer, getPrimaryKey, getTableMap, getUserId, getValue, getValueId, hashCode, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isRemoved, isSaving, resetModified, save, save, setAttribute, setAttributeId, setAttributeKey, setAttributeOption, setAttributeOptionKey, setByName, setByPeerName, setByPosition, setDeleted, setDepend, setDependId, setDependKey, setEasyDeskUserImpl, setEasyDeskUserImplKey, setItem, setItemId, setItemKey, setLoading, setModified, setNew, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setValueId, valueEquals
-
Constructor Details
-
AbstractMapAttribute
public AbstractMapAttribute()하위 클래스에서 사용하는 기본 생성자.
-
-
Method Details
-
init
DOCUMENT ME!- Overrides:
initin classAttributeValue- Throws:
Exception- DOCUMENT ME!
-
setResources
DOCUMENT ME!- Overrides:
setResourcesin classAttributeValue- Parameters:
resources- DOCUMENT ME!
-
loadResources
Loads from database data specific for this Attribute including Name. These are data common to all Attribute instances with same id. Data retrieved here will then be used in setResources.- Overrides:
loadResourcesin classAttributeValue- Parameters:
activitySet- specific activitySet- Returns:
- Object containing Attribute resources which will be used in setResources.
-
getDisplayedValue
기본 locale(아이템의 locale)로 화면에 표시할 값을 구한다.- Parameters:
type- 표시 형식- Returns:
- 화면에 표시할 값
- Throws:
Exception- 값을 구하는 중 오류가 발생한 경우
-
getDisplayedValue
지정한 locale 로 화면에 표시할 값을 구한다. 기본 구현은 저장된 값을 그대로 반환한다.- Parameters:
type- 표시 형식locale- 표시에 사용할 locale- Returns:
- 화면에 표시할 값
- Throws:
Exception- 값을 구하는 중 오류가 발생한 경우
-