# Business Logic — KKW00846SF01DBean.listKoumokuIds() [10 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKA18001SF.KKW00846SF01DBean` |
| Layer | Utility (Data Type Bean) |
| Module | `KKA18001SF` (Package: `eo.web.webview.KKA18001SF`) |

## 1. Role

### KKW00846SF01DBean.listKoumokuIds()

This method provides the column header labels (item names) for the "Customer Contract Inheritance List" (顧客契約引継リスト) data type bean used in the KKA18001SF web screen. It returns a fixed, ordered list of six column names that define the structure of a dropdown selection list displayed to the user. The method acts as a shared data factory within the Futurity Web X33 framework's data type bean architecture — specifically supporting VIEW-type beans where the item labels are statically defined rather than dynamically fetched from a database. The list covers the key fields involved in a customer contract inheritance (transfer) operation: a unique service identifier, the contract number, a flag indicating whether a change has occurred, the reason for the change (code and memo), and the processing classification. This method implements the builder pattern at its simplest form, assembling and returning a predefined list without any branching or conditional logic. It is a shared utility called by the parent bean's `listKoumokuIds(String key)` routing method when the key "顧客契約引継リスト" is passed, and has no dependencies on service components, databases, or external state.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["listKoumokuIds()"])
    STEP1(["Create ArrayList<String> koumokuList"])
    STEP2(["Add SSSIO to list"])
    STEP3(["Add 顧客契約引継リスト"])
    STEP4(["Add 変更区分"])
    STEP5(["Add 変更理由コード"])
    STEP6(["Add 変更理由メモ"])
    STEP7(["Add 処理区分"])
    END_NODE(["Return koumokuList"])

    START --> STEP1
    STEP1 --> STEP2
    STEP2 --> STEP3
    STEP3 --> STEP4
    STEP4 --> STEP5
    STEP5 --> STEP6
    STEP6 --> STEP7
    STEP7 --> END_NODE
```

The method performs a straightforward sequential assembly: it creates a new `ArrayList<String>`, appends six hardcoded Japanese column name strings in a fixed order, and returns the populated list. There are no conditional branches, loops, or method calls beyond the list construction itself.

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | - |

This is a static method with no parameters. It operates entirely with local state and returns a fixed list of column labels that define the view structure for the customer contract inheritance list dropdown.

## 4. CRUD Operations / Called Services

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| - | (none) | - | - | - |

This method performs no database reads, no service component calls, and no CRUD operations. It is a pure in-memory data factory that assembles hardcoded labels.

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Bean:KKW00846SFBean | `KKW00846SFBean.listKoumokuIds(key)` -> `KKW00846SF01DBean.listKoumokuIds` | (none) |

**Caller Details:**
- **KKW00846SFBean** — The parent bean class in the same package (`eo.web.webview.KKA18001SF`). When its `listKoumokuIds(String key)` method receives the key `"顧客契約引継リスト"` (Customer Contract Inheritance List), it delegates to `KKW00846SF01DBean.listKoumokuIds()` to retrieve the column header labels for that specific dropdown type. This is a standard data type bean routing pattern in the Futurity X33 framework.

## 6. Per-Branch Detail Blocks

This method has no conditional branches. The entire body is a linear sequence of six list additions.

**Block 1** — [SEQUENTIAL] `(no condition)` (L439)

> Create a new ArrayList and populate it with six hardcoded Japanese column name strings in a fixed order. These strings define the column headers for the "Customer Contract Inheritance List" data type view.

| # | Type | Code |
|---|------|------|
| 1 | SET | `koumokuList = new ArrayList<String>()` // Create new list |
| 2 | SET | `koumokuList.add("SSSIO")` // Add SSSIO (system service number identifier) [-> "SSSIO"] |
| 3 | SET | `koumokuList.add("顧客契約引継リスト")` // Add Customer Contract Inheritance List [-> "顧客契約引継リスト"] |
| 4 | SET | `koumokuList.add("変更区分")` // Add Change Classification [-> "変更区分"] |
| 5 | SET | `koumokuList.add("変更理由コード")` // Add Change Reason Code [-> "変更理由コード"] |
| 6 | SET | `koumokuList.add("変更理由メモ")` // Add Change Reason Memo [-> "変更理由メモ"] |
| 7 | SET | `koumokuList.add("処理区分")` // Add Processing Classification [-> "処理区分"] |
| 8 | RETURN | `return koumokuList` // Return the populated list |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| SSSIO | Field | System Service Number — internal identifier for a service contract line item |
| 顧客契約引継リスト | Field | Customer Contract Inheritance List — the data type bean name for customer contract transfer/inheritance operations |
| 変更区分 | Field | Change Classification — indicates whether a field has been modified (e.g., added, deleted, or unchanged) in the contract inheritance context |
| 変更理由コード | Field | Change Reason Code — a coded value indicating why the contract was changed or inherited |
| 変更理由メモ | Field | Change Reason Memo — free-text description accompanying the change reason code |
| 処理区分 | Field | Processing Classification — indicates the type of processing performed (e.g., new registration, update, deletion) |
| DBean | Abbreviation | Data Bean — a data type bean in the Futurity X33 framework that encapsulates view-level data fields and their types |
| VIEW-type bean | Pattern | A data type bean whose items are statically defined (as opposed to database-fetched items that query a table for options) |
| X33VListedBeanInterface | Framework | Futurity Web X33 interface for beans that provide list/select item data |
| X33VDataTypeBeanInterface | Framework | Futurity Web X33 interface for beans that define typed data fields |
