# Business Logic — KKW00127SF02DBean.listKoumokuIds() [15 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKW00127SF.KKW00127SF02DBean` |
| Layer | Utility (Data Type Bean — part of Fujitsu Futurity X33 web framework) |
| Module | `KKW00127SF` (Package: `eo.web.webview.KKW00127SF`) |

## 1. Role

### KKW00127SF02DBean.listKoumokuIds()

This method serves as a **data type bean metadata factory** for the X33 web framework. It returns a predefined, ordered list of 11 Japanese field-name strings (KoumokuIds) that describe the columns or properties exposed by this data type bean to the presentation layer. The method is a static factory — it takes no parameters, performs no conditional branching, and returns a newly constructed `ArrayList<String>` each time it is invoked.

Within the larger system, `KKW00127SF02DBean` implements `X33VListedBeanInterface` and `X33VDataTypeBeanInterface` from the Fujitsu Futurity X33 framework. The `listKoumokuIds()` method provides the schema (column names) for any screen component, list view, or data-binding layer that consumes this bean. The returned field names correspond to service contract management data fields, including service contract status, detailed order numbers, pricing group codes, service start date, payment continuation flags, referral codes, service codes, update timestamps, and automatic inspection processing status.

The method follows the **builder/factory** pattern: it instantiates a list, appends a fixed sequence of items, and returns the result. It is a **shared utility** used by the X33 framework infrastructure rather than by business logic — no callers were found in the codebase, suggesting the method is invoked reflectively or through framework-generated dispatch code.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["listKoumokuIds()"])
    STEP1["Create new ArrayList<String> koumokuList"]

    STEP1 --> STEP2["Add items 1-11: KoumokuId field names"]

    STEP2 --> STEP3["Return koumokuList"]

    STEP3 --> END(["End"])
```

This method has no conditional branches, no loops, and no method calls. The processing is a straightforward sequence:

1. **START** — Method entry point with no parameters.
2. **Create list** — Instantiate a new `ArrayList<String>` named `koumokuList`.
3. **Populate items** — Add 11 string literals representing business field names in Japanese, in a fixed order.
4. **Return** — Return the populated list to the caller.
5. **END** — Method completes.

**CRITICAL — Constant Resolution:**

No constant references are used in this method. All values are direct string literals.

## 3. Parameter Analysis

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

The method takes no parameters. It is a parameterless factory method that returns a static, pre-defined schema.

| No | Source | Type | Business Description |
|----|--------|------|---------------------|
| - | (none) | - | - |

The method does not read any instance fields or external state. It is fully self-contained and stateless.

## 4. CRUD Operations / Called Services

This method performs no CRUD operations. It does not call any service components, data access methods, or external services. It constructs and returns an in-memory `ArrayList<String>` containing field name literals.

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| — | — | — | — | No data access. This method is a pure metadata factory with no side effects. |

## 5. Dependency Trace

No callers of this method were found in the codebase. The method is declared `public static`, suggesting it is intended to be called through the X33 framework's reflective dispatch mechanism or through framework-generated code that the search scope did not capture.

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | N/A | (No callers found — method invoked via X33 framework reflection or not called from application code) | — |

The method is implemented in a Data Type Bean class (`KKW00127SF02DBean`) within the `KKW00127SF` module. No calling classes, screens, or batches reference this method in their source code.

## 6. Per-Branch Detail Blocks

This method has no conditional branches, loops, or nested blocks. It is a linear sequence of additive operations.

**Block 1** — [SET] `(ArrayList instantiation)` (L706)

| # | Type | Code |
|---|------|------|
| 1 | SET | `koumokuList = new ArrayList<String>()` // Create a new ArrayList<String> instance |

**Block 2** — [EXEC] `(Add items 1-11)` (L707–L717)

| # | Type | Code |
|---|------|------|
| 1 | SET | `koumokuList.add("サービス契約ステータス")` // Add: Service Contract Status [-> koumokuId #1] |
| 2 | SET | `koumokuList.add("申込明細番号")` // Add: Application Detail Number [-> koumokuId #2] |
| 3 | SET | `koumokuList.add("サービス契約ステータスリスト")` // Add: Service Contract Status List [-> koumokuId #3] |
| 4 | SET | `koumokuList.add("料金グループコード")` // Add: Pricing Group Code [-> koumokuId #4] |
| 5 | SET | `koumokuList.add("サービス開始希望日")` // Add: Service Start Desired Date [-> koumokuId #5] |
| 6 | SET | `koumokuList.add("支払方法引継フラグ")` // Add: Payment Method Continuation Flag [-> koumokuId #6] |
| 7 | SET | `koumokuList.add("紹介コードリスト")` // Add: Referral Code List [-> koumokuId #7] |
| 8 | SET | `koumokuList.add("紹介コード")` // Add: Referral Code [-> koumokuId #8] |
| 9 | SET | `koumokuList.add("サービスコード")` // Add: Service Code [-> koumokuId #9] |
| 10 | SET | `koumokuList.add("更新年月日時分秒（サービス契約）")` // Add: Update Timestamp (Service Contract) [-> koumokuId #10] |
| 11 | SET | `koumokuList.add("自動照会処理状態コード")` // Add: Automatic Inquiry Processing Status Code [-> koumokuId #11] |

**Block 3** — [RETURN] `(Return the populated list)` (L718)

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return koumokuList` // Return the complete list of 11 field name strings |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `koumokuId` | Field | Item name / column identifier — Japanese field name used as a unique key in the X33 data binding framework to identify bean properties |
| X33 | Acronym | Futurity X33 — Fujitsu's enterprise web application framework providing data binding, view rendering, and bean lifecycle management |
| DBean | Acronym | Data Type Bean — An X33 framework class implementing `X33VDataTypeBeanInterface` and `X33VListedBeanInterface` that defines the schema and metadata for a data model presented to the UI layer |
| サービス契約ステータス | Japanese Field | Service Contract Status — Current state of a service contract (e.g., active, terminated, pending) |
| 申込明細番号 | Japanese Field | Application Detail Number — Unique identifier for a service application line item |
| サービス契約ステータスリスト | Japanese Field | Service Contract Status List — A list/collection field representing possible or historical service contract statuses |
| 料金グループコード | Japanese Field | Pricing Group Code — Code identifying the pricing tier or category for a service contract |
| サービス開始希望日 | Japanese Field | Service Start Desired Date — The customer's requested start date for the service |
| 支払方法引継フラグ | Japanese Field | Payment Method Continuation Flag — Indicator of whether to continue the existing payment method for a renewed or transferred contract |
| 紹介コードリスト | Japanese Field | Referral Code List — Collection of codes used for customer referral tracking |
| 紹介コード | Japanese Field | Referral Code — Code identifying the source of a customer referral |
| サービスコード | Japanese Field | Service Code — Unique code identifying a specific service offering or product type |
| 更新年月日時分秒（サービス契約） | Japanese Field | Update Year/Month/Day Hour/Minute/Second (Service Contract) — Timestamp of the last update to the service contract record |
| 自動照会処理状態コード | Japanese Field | Automatic Inquiry Processing Status Code — Code indicating the current state of an automated data inquiry/reconciliation process |
