public class HelloWorldDto extends Object
Modifier and Type | Method and Description |
---|---|
static HelloWorldDto |
create(String name,
String message)
Creates a new
HelloWorldDto instance. |
String |
getHelloWorldMessage()
Returns hello world message.
|
String |
getName()
Returns name.
|
public static HelloWorldDto create(String name, String message)
HelloWorldDto
instance.name
- author to be associated with the messagemessage
- the message to be returnedHelloWorldDto
encapsulating a name and messagepublic String getName()
public String getHelloWorldMessage()
Copyright © 2019 Cerner Innovation, Inc.. All rights reserved.