クラス ContentMapper<R extends ContentEntity>
- すべての実装されたインタフェース:
Mapper<R>
public abstract class ContentMapper<R extends ContentEntity> extends Object implements Mapper<R>
The scan()
method defined in this abstract class handles all the
linking between the content object inheriting from this abstract class and
the content file.
This scan()
method cannot be overridden by content objects that
inherit from this abstract class. In other words, after creating an instance
of a content object that inherits from this abstract class, simply calling
the scan()
method defined in the inherited abstract class will perform
the mapping process, resulting in the acquisition result as the result type
defined in the content file The result will be returned as the result type
defined in the content file.
The generic of this abstract class should be a type that implements the
ContentEntity
interface. Each field defined in the type specified in
this generic will be mapped to each item in the content file and will be the
returned type when the scan()
method is executed.
- 導入されたバージョン:
- 1.0.0
-
メソッドの概要
-
メソッドの詳細
-
scan
インタフェースからコピーされた説明:Mapper
Performs the mapping process between the content class and the content file, and returns the Entity list containing the items retrieved from the specified content.- 定義:
scan
インタフェース内Mapper<R extends ContentEntity>
- 戻り値:
- Entity list containing the items retrieved from the specified content
-
toString
-
equals
-
hashCode
public int hashCode()
-