MCPcopy Create free account
hub / github.com/PCGen/pcgen / TableColumn

Class TableColumn

code/src/java/pcgen/cdom/format/table/TableColumn.java:29–129  ·  view source on GitHub ↗

A TableColumn is effectively a name/format pair that indicates a column within a DataTable.

Source from the content-addressed store, hash-verified

27 * within a DataTable.
28 */
29public class TableColumn implements Loadable
30{
31 /**
32 * The source URI for this TableColumn
33 */
34 private URI sourceURI;
35
36 /**
37 * The name of this TableColumn
38 */
39 private String name;
40
41 /**
42 * The FormatManager indicating the format of the data in the DataTable
43 * column represented by this TableColumn.
44 */
45 private FormatManager<?> formatManager;
46
47 /**
48 * Sets the FormatManager indicating the format of the data in the DataTable
49 * column represented by this TableColumn.
50 *
51 * @param formatManager
52 * The FormatManager indicating the format of the data in the
53 * DataTable column represented by this TableColumn
54 */
55 public void setFormatManager(FormatManager<?> formatManager)
56 {
57 this.formatManager = formatManager;
58 }
59
60 /**
61 * Gets the FormatManager indicating the format of the data in the DataTable
62 * column represented by this TableColumn.
63 *
64 * @return The FormatManager indicating the format of the data in the
65 * DataTable column represented by this TableColumn
66 */
67 public FormatManager<?> getFormatManager()
68 {
69 return formatManager;
70 }
71
72 /**
73 * Sets the name for this TableColumn.
74 *
75 * @param name
76 * The name for this TableColumn
77 */
78 @Override
79 public void setName(String name)
80 {
81 this.name = name;
82 }
83
84 /**
85 * Returns the name for this TableColumn.
86 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected