|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.xmla.RowsetDefinition.Column
static class RowsetDefinition.Column
Field Summary | |
---|---|
(package private) java.lang.String |
description
|
(package private) Enumeration |
enumeration
|
(package private) java.lang.String |
name
|
(package private) static boolean |
NOT_RESTRICTION
This is used as the false value for the restriction parameter. |
(package private) boolean |
nullable
|
(package private) static boolean |
ONE_MAX
This is used as the false value for the unbounded parameter. |
(package private) static boolean |
OPTIONAL
This is used as the true value for the nullable parameter. |
(package private) static boolean |
REQUIRED
This is used as the false value for the nullable parameter. |
(package private) boolean |
restriction
|
(package private) static boolean |
RESTRICTION
This is used as the true value for the restriction parameter. |
(package private) RowsetDefinition.Type |
type
|
(package private) boolean |
unbounded
|
(package private) static boolean |
UNBOUNDED
This is used as the true value for the unbounded parameter. |
Constructor Summary | |
---|---|
RowsetDefinition.Column(java.lang.String name,
RowsetDefinition.Type type,
Enumeration enumeratedType,
boolean restriction,
boolean nullable,
boolean unbounded,
java.lang.String description)
|
|
RowsetDefinition.Column(java.lang.String name,
RowsetDefinition.Type type,
Enumeration enumeratedType,
boolean restriction,
boolean nullable,
java.lang.String description)
Creates a column. |
Method Summary | |
---|---|
protected java.lang.Object |
get(java.lang.Object row)
Retrieves a value of this column from a row. |
java.lang.String |
getColumnType()
|
protected java.lang.Object |
getFromAccessor(java.lang.Object row)
Retrieves the value of this column "MyColumn" by calling a method called "getMyColumn()". |
protected java.lang.Object |
getFromField(java.lang.Object row)
Retrieves the value of this column "MyColumn" from a field called "myColumn". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final boolean RESTRICTION
static final boolean NOT_RESTRICTION
static final boolean REQUIRED
static final boolean OPTIONAL
static final boolean ONE_MAX
static final boolean UNBOUNDED
final java.lang.String name
final RowsetDefinition.Type type
final Enumeration enumeration
final java.lang.String description
final boolean restriction
final boolean nullable
final boolean unbounded
Constructor Detail |
---|
RowsetDefinition.Column(java.lang.String name, RowsetDefinition.Type type, Enumeration enumeratedType, boolean restriction, boolean nullable, java.lang.String description)
name
- Name of columntype
- A RowsetDefinition.Type
valueenumeratedType
- Must be specified for enumeration or array
of enumerationsdescription
- Description of columnrestriction
- Whether column can be used as a filter on its
rowsetnullable
- Whether column can contain null valuesRowsetDefinition.Column(java.lang.String name, RowsetDefinition.Type type, Enumeration enumeratedType, boolean restriction, boolean nullable, boolean unbounded, java.lang.String description)
Method Detail |
---|
protected java.lang.Object get(java.lang.Object row)
row
- Rowprotected final java.lang.Object getFromField(java.lang.Object row)
row
- Current row
protected final java.lang.Object getFromAccessor(java.lang.Object row)
row
- Current row
public java.lang.String getColumnType()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |