Package com.easydesk.om
Class OptionRelationship
java.lang.Object
com.easydesk.om.BaseOptionRelationship
com.easydesk.om.OptionRelationship
- All Implemented Interfaces:
Artifactizable,Optionable<OptionRelationship>,Identifiable<Integer>,Serializable,ColumnAccessByName,ObjectModel,Persistent
public class OptionRelationship
extends BaseOptionRelationship
implements Artifactizable, Optionable<OptionRelationship>, Identifiable<Integer>
이 Class 에서는 두 Option 간의 행동만 정의한다.
예 ) 1ChangeFollowedBy2, 여기서 어떠한 행동을 수행해야 하는 지 구체적 정보는 DependType 에 의하여 결정된다.
TODO : m x n 을 지원하기 위하여 다시 재 구성한다.
-
Field Summary
Fields inherited from class com.easydesk.om.BaseOptionRelationship
collOptionOptions, collOptionRelationshipsFields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERN, loggerFields inherited from interface com.easydesk.om.Optionable
ALL, GET_BY_NAME, logger, NAME_SEPERATOR, OPTIONABLE_PATTERN, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionitemable Object 의 itemTypeDOCUMENT ME!DOCUMENT ME!same as getDependTypeRelatedByParentId() Optionable impelements TODO : m x nvoidsave()Stores the object in the database.voidsetParent(OptionRelationship relationship) DOCUMENT ME!Methods inherited from class com.easydesk.om.BaseOptionRelationship
addOptionOption, addOptionOption, addOptionRelationship, addOptionRelationship, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getByName, getByPeerName, getByPosition, getDependType, getDependType, getDependTypeId, getFieldNames, getFirstName, getForeignKeyForDependType, getForeignKeyForOptionRelationshipRelatedByParentId, getId, getName, getOptionOptions, getOptionOptions, getOptionOptions, getOptionOptions, getOptionOptionsJoinAttributeOptionRelatedByOption1Id, getOptionOptionsJoinAttributeOptionRelatedByOption1Id, getOptionOptionsJoinAttributeOptionRelatedByOption2Id, getOptionOptionsJoinAttributeOptionRelatedByOption2Id, getOptionOptionsJoinEasyDeskModule, getOptionOptionsJoinEasyDeskModule, getOptionOptionsJoinItemType, getOptionOptionsJoinItemType, getOptionRelationshipRelatedByParentId, getOptionRelationshipRelatedByParentId, getOptionRelationships, getOptionRelationships, getOptionRelationships, getOptionRelationships, getOptionRelationshipsJoinDependType, getOptionRelationshipsJoinDependType, getParentId, getPeer, getPrimaryKey, getSecondName, getTableMap, hashCode, initOptionOptions, initOptionRelationships, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isOptionOptionsInitialized, isOptionRelationshipsInitialized, isSaving, resetModified, resetOptionOption, resetOptionRelationship, save, save, setByName, setByPeerName, setByPosition, setDeleted, setDependType, setDependTypeId, setDependTypeKey, setFirstName, setId, setLoading, setModified, setName, setNew, setOptionRelationshipRelatedByParentId, setOptionRelationshipRelatedByParentIdKey, setParentId, setPrimaryKey, setPrimaryKey, setSaving, setSecondName, 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.security.entity.Identifiable
getId, setIdMethods inherited from interface com.easydesk.om.Optionable
appendOption, getName, getPathName, isRoot, setName
-
Constructor Details
-
OptionRelationship
public OptionRelationship()새로운OptionRelationship인스턴스를 생성한다.
-
-
Method Details
-
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 classBaseOptionRelationship- Throws:
Exception- 저장 중 오류가 발생한 경우
-
getArtifactType
itemable Object 의 itemType- Specified by:
getArtifactTypein interfaceArtifactizable- Returns:
- itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getParent
same as getDependTypeRelatedByParentId() Optionable impelements TODO : m x n- Specified by:
getParentin interfaceOptionable<OptionRelationship>- Returns:
- OptionRelationship which is parent DependType
-
setParent
DOCUMENT ME!- Specified by:
setParentin interfaceOptionable<OptionRelationship>- Parameters:
relationship- DOCUMENT ME!
-
getAttribute
DOCUMENT ME!- Specified by:
getAttributein interfaceOptionable<OptionRelationship>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeOption
DOCUMENT ME!- Specified by:
getAttributeOptionin interfaceOptionable<OptionRelationship>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-