public final class DisplayLevel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DisplayLevel.NameUnrecognisedException
Thrown when a
DisplayLevel which doesn't exist is referenced,
by misspelling for example. |
| Modifier and Type | Field and Description |
|---|---|
static DisplayLevel |
detail
Display level of
Columns included in a detailed display
of a single record. |
Integer |
index
The numeric Id of the Level.
|
static DisplayLevel |
never
Display level of
Columns hidden from users. |
static DisplayLevel |
primary
Display level of a
Column used as the name of the
whole record. |
static DisplayLevel |
record
Display level of
Columns included in display focusing on a
single record, but without detail. |
static DisplayLevel |
summary
Display level of
Columns to be included in a summary of
records in a set. |
| Modifier and Type | Method and Description |
|---|---|
static int |
count() |
static DisplayLevel |
forIndex(int index)
Get by numeric id.
|
Integer |
getIndex() |
String |
getName() |
static DisplayLevel |
named(String name)
Get by name.
|
String |
toString() |
public final Integer index
public static final DisplayLevel primary
Column used as the name of the
whole record.Table.displayColumn()public static final DisplayLevel summary
public static final DisplayLevel record
Columns included in display focusing on a
single record, but without detail.public static final DisplayLevel detail
Columns included in a detailed display
of a single record.public static final DisplayLevel never
Columns hidden from users.public String getName()
public Integer getIndex()
public static DisplayLevel forIndex(int index)
index - the numeric Id of the levelpublic static int count()
public static DisplayLevel named(String name)
name - The name of the required levelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2000–2021 PanEris. All rights reserved.