tags:

views:

58

answers:

2

Is there a name or nickname for a class that only contain attributes (like a c struct)? Like DialogParameters in this example:

public class MyDialog extends JDialog {

  public static class DialogParameters {
    public String dialogTitle;
    public String helpId;
  }

  public MyDialog(DialogParameters parameters) {
    ...
  }
}
+3  A: 

Data transfer object, or value object.

Sjoerd
A: 

POJO (http://en.wikipedia.org/wiki/Plain_Old_Java_Object)

Frank