Package com.easydesk.om
Class TimeScope
java.lang.Object
com.easydesk.om.BaseTimeScope
com.easydesk.om.TimeScope
- All Implemented Interfaces:
Artifactizable,Optionable<TimeScope>,Identifiable<Integer>,Serializable,ColumnAccessByName,ObjectModel,Persistent
public class TimeScope
extends BaseTimeScope
implements Artifactizable, Optionable<TimeScope>, Identifiable<Integer>
- Author:
- Youngho Cho
-
Field Summary
Fields inherited from class com.easydesk.om.BaseTimeScope
collActivitySetTypes, collQuerys, collQueryUsersFields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERNFields inherited from interface com.easydesk.om.Optionable
ALL, GET_BY_NAME, NAME_SEPERATOR, OPTIONABLE_PATTERN, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionitemable Object 의 itemTypeDOCUMENT ME!DOCUMENT ME!Date[]DOCUMENT ME!getId()Get the Id of the Identifiable Entity.same as getDependTypeRelatedByParentId() Optionable impelementsDate[]voidsave()Stores the object in the database.voidsetDuration(Date[] duration) DOCUMENT ME!voidIdentifiable implementationvoid부모 TimeScope 를 설정한다.Methods inherited from class com.easydesk.om.BaseTimeScope
addActivitySetType, addActivitySetType, addQuery, addQuery, addQueryUser, addQueryUser, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getActivitySetTypes, getActivitySetTypes, getActivitySetTypes, getActivitySetTypes, getByName, getByPeerName, getByPosition, getFieldNames, getName, getPeer, getPrimaryKey, getQuerys, getQuerys, getQuerys, getQuerys, getQuerysJoinEasyDeskModule, getQuerysJoinEasyDeskModule, getQuerysJoinEasyDeskUserImpl, getQuerysJoinEasyDeskUserImpl, getQuerysJoinMITList, getQuerysJoinMITList, getQuerysJoinScope, getQuerysJoinScope, getQueryUsers, getQueryUsers, getQueryUsers, getQueryUsers, getQueryUsersJoinEasyDeskUserImpl, getQueryUsersJoinEasyDeskUserImpl, getQueryUsersJoinQuery, getQueryUsersJoinQuery, getTableMap, getTypeId, hashCode, initActivitySetTypes, initQuerys, initQueryUsers, isActivitySetTypesInitialized, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isQuerysInitialized, isQueryUsersInitialized, isRemoved, isSaving, resetActivitySetType, resetModified, resetQuery, resetQueryUser, save, save, setByName, setByPeerName, setByPosition, setDeleted, setLoading, setModified, setName, setNew, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setTypeId, toString, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.om.Artifactizable
getArtifact, getArtifactKey, getArtifactModule, getPrimaryKey, getTableMapMethods inherited from interface com.easydesk.om.Optionable
appendOption, getName, getPathName, isRoot, setName
-
Constructor Details
-
TimeScope
public TimeScope()새로운TimeScope인스턴스를 생성한다.
-
-
Method Details
-
getId
Description copied from interface:IdentifiableGet the Id of the Identifiable Entity.- Specified by:
getIdin interfaceIdentifiable<Integer>- Returns:
- The Id of the entity.
-
setId
Identifiable implementation- Specified by:
setIdin interfaceIdentifiable<Integer>- Parameters:
id- The new Id of the entity
-
save
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.- Specified by:
savein interfacePersistent- Overrides:
savein classBaseTimeScope- Throws:
Exception- 저장 중 오류가 발생한 경우
-
getArtifactType
itemable Object 의 itemType- Specified by:
getArtifactTypein interfaceArtifactizable- Returns:
- itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getParent
same as getDependTypeRelatedByParentId() Optionable impelements- Specified by:
getParentin interfaceOptionable<TimeScope>- Returns:
- DependType which is parent DependType
-
setParent
부모 TimeScope 를 설정한다.- Specified by:
setParentin interfaceOptionable<TimeScope>- Parameters:
optionable- 부모 TimeScope
-
getAttribute
DOCUMENT ME!- Specified by:
getAttributein interfaceOptionable<TimeScope>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeOption
DOCUMENT ME!- Specified by:
getAttributeOptionin interfaceOptionable<TimeScope>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getDuration
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
setDuration
DOCUMENT ME!- Parameters:
duration- DOCUMENT ME!
-
getRange
- Parameters:
date- startDateincludeOffset- Monthly 인 경우 offset 을 포함하면 6주 를 처리- Returns:
- Date array [ min date, max date ]
-