Package com.easydesk.om.util
Class ItemTypeAttributeFactory
java.lang.Object
com.easydesk.om.util.ItemTypeAttributeFactory
ItemTypeAttributeFactory
- Author:
- Youngho Cho
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds itemtype-attribute mapping to item type.voidDOCUMENT ME!static ItemTypeAttributeFactorygetFactory(ItemType itemType) ItemType 에 대한 factory 를 구한다.intgetLastAttribute(String attributeType) : can this be done more efficently?
-
Constructor Details
-
ItemTypeAttributeFactory
ItemType 에 대한 factory 를 생성한다.- Parameters:
itemType- 대상 ItemType
-
-
Method Details
-
getFactory
ItemType 에 대한 factory 를 구한다.- Parameters:
itemType- 대상 ItemType- Returns:
- ItemTypeAttributeFactory
-
add
Adds itemtype-attribute mapping to item type.- Parameters:
attribute- 추가할 Attribute- Returns:
- 추가된 ItemTypeAttribute
- Throws:
Exception- 추가 중 오류가 발생한 경우
-
add
DOCUMENT ME!- Parameters:
attributes- DOCUMENT ME!- Throws:
Exception- DOCUMENT ME!
-
getLastAttribute
: can this be done more efficently? gets highest sequence number for itemType-attribute map so that a new ItemTypeAttribute can be added at the end.- Parameters:
attributeType- attribute 유형- Returns:
- 가장 큰 순서 번호
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-