Package com.easydesk.om
Class Item.FederatedId
java.lang.Object
com.easydesk.om.Item.FederatedId
- All Implemented Interfaces:
Serializable
- Enclosing class:
Item
A FederatedId has this format: DOMAIN-CODE-ID For example: nannet.co.kr-PACS-1 The domain can also be null.
-
Constructor Summary
ConstructorsConstructorDescriptionFederatedId(String id) id 문자열로 FederatedId 를 생성한다. "1", "PACS-1", "nannet.co.kr-PACS-1" 형식을 지원한다.FederatedId(String domain, String prefix, int count) domain, prefix, count 로 FederatedId 를 생성한다. -
Method Summary
-
Constructor Details
-
FederatedId
id 문자열로 FederatedId 를 생성한다. "1", "PACS-1", "nannet.co.kr-PACS-1" 형식을 지원한다.- Parameters:
id- item id 문자열
-
FederatedId
domain, prefix, count 로 FederatedId 를 생성한다.- Parameters:
domain- domain, 없으면nullprefix- module codecount- module 내의 item sequence
-
-
Method Details
-
setUniqueId
unique id 를 해석하여 prefix 와 count 를 설정한다.- Parameters:
id- The unique identifier for this item, generally a combination of code and sequence number (e.g. SCB-37).
-
getDomain
domain 을 구한다.- Returns:
- The domain.
-
getPrefix
prefix 를 구한다.- Returns:
- The prefix (upper-cased).
-
getCount
public int getCount()sequence 를 구한다.- Returns:
- The sequence of this item within its code.
-
setDomain
Set the domainId- Parameters:
domainId- domain
-
setPrefix
prefix 를 설정한다. 대문자로 변환한다.- Parameters:
prefix- The module code.
-
setCount
public void setCount(int count) sequence 를 설정한다.- Parameters:
count- The sequence of this item within its code.
-
equals
-
hashCode
public int hashCode() -
toString
-