public abstract class MojoColumn
extends java.lang.Object
implements java.io.Serializable
Container for values across a column in a MojoFrame.
MojoColumn are merely wrappers of an array of data, meaning that a column instance does not have a name property. Columns are only “named” when they are in a MojoFrame. These structures are immutable in terms of size, but the values in its underlying array may be modified.
| Modifier and Type | Class and Description |
|---|---|
static class |
MojoColumn.Kind |
static class |
MojoColumn.Type
MojoColumn Type Enum
|
| Constructor and Description |
|---|
MojoColumn() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
debug()
Deprecated.
|
abstract java.lang.Object |
getData()
Get the array reference that the column instance is wrapping.
|
abstract java.lang.String[] |
getDataAsStrings()
Retrieve the data in a column as an array of Strings.
|
abstract MojoColumn.Type |
getType()
Get the type of data the column instance contains
|
abstract int |
size()
Get the length of the array wrapped by the column instance
|
@Deprecated public abstract java.lang.String debug()
public abstract MojoColumn.Type getType()
Get the type of data the column instance contains
public abstract java.lang.Object getData()
Get the array reference that the column instance is wrapping.
Type valuepublic abstract java.lang.String[] getDataAsStrings()
Retrieve the data in a column as an array of Strings.
public abstract int size()
Get the length of the array wrapped by the column instance