LoginSignup
0
0

More than 5 years have passed since last update.

SalesCubeでInputPOrderSlipDtoにゲッターを追加する方法

Posted at

SalesCubeの話。
AbstractSlipDto を継承して InputPOrderSlipDto が実装されている。
InputPOrderSlipDto にて、

public String getYamatoHoge01(){
    return this.supplierName;
}

のようなゲッターを追加する場合。
AbstractSlipDto に

public abstract String getYamatoHoge01();

を追加する。
呼び出し側では下記のように実装する。

AbstractSlipDto<LINEDTOCLASS> dto = form.copyToDto();
String piyo = dto.getYamatoHoge01();
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0