for Scala: companion object for parameter-bean