Package com.easydesk.attribute
Class NumericAttribute
- All Implemented Interfaces:
Viewable,Cacheable,Observed,Retrievable,Serializable,ColumnAccessByName,ObjectModel,Persistent
- Direct Known Subclasses:
CounterAttribute,FloatAttribute,IntegerAttribute,LongAttribute
숫자 값을 NumericValue 로 저장하는 범위(range) 속성.
- Version:
- $Revision: 1.17 $ $Date: 2008/12/25 04:03:44 $
- 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 TypeMethodDescriptionRangeQuery 에서 LowerBound String 을 구한다.Range [yyyy-MM-dd yyyy-MM-dd] 에서 lower date 를 구한다. matching 이 없으면 null 을DOCUMENT ME!indexing 용 SortableString 을 구한다.RangeQuery 에서 UpperBound String 을 구한다.Range [yyyy-MM-dd yyyy-MM-dd) 에서 upper date 를 구한다. matching 이 없으면 null 을booleanDOCUMENT ME!void문자열로 주어진 숫자 값을 설정한다.Methods inherited from class com.easydesk.attribute.StringAttribute
getLocalizedValue, getLocalizedValueMethods inherited from class com.easydesk.attribute.FreeFormAttribute
getDisplayedValue, getDisplayedValue, getFormatter, init, loadResources, setResourcesMethods inherited from class com.easydesk.om.AttributeValue
alwaysNeedActivity, clear, copy, copy, endActivitySet, getActivity, getActivityDescription, getAttachment, getChainedValue, getChainedValue, getChainedValue, getInputValue, 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, 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, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.attribute.Viewable
getComponentName
-
Constructor Details
-
NumericAttribute
public NumericAttribute()Creates a new NumericAttribute object.
-
-
Method Details
-
setNumericValue
문자열로 주어진 숫자 값을 설정한다.- Parameters:
v- number String may be have ',' for example 12,000 will be valid.
-
getSortableString
indexing 용 SortableString 을 구한다.- Specified by:
getSortableStringin classRangeAttribute- Returns:
- SortableString
-
getLowerBound
RangeQuery 에서 LowerBound String 을 구한다.- Specified by:
getLowerBoundin classRangeAttribute- Returns:
- SortableString or padded date String
-
getUpperBound
RangeQuery 에서 UpperBound String 을 구한다.- Specified by:
getUpperBoundin classRangeAttribute- Returns:
- SortableString or padded date String
-
getLowerValue
Range [yyyy-MM-dd yyyy-MM-dd] 에서 lower date 를 구한다. matching 이 없으면 null 을- Specified by:
getLowerValuein classRangeAttribute- Returns:
- lowerString
-
getUpperValue
Range [yyyy-MM-dd yyyy-MM-dd) 에서 upper date 를 구한다. matching 이 없으면 null 을- Specified by:
getUpperValuein classRangeAttribute- Returns:
- upperString
-
getRangePattern
DOCUMENT ME!- Specified by:
getRangePatternin classRangeAttribute- Returns:
- DOCUMENT ME!
-
hasValue
DOCUMENT ME!- Overrides:
hasValuein classStringAttribute- Parameters:
checkValue- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-