|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.DirectoryItemType
public final class DirectoryItemType
This class is used to specify the type of a directory item.
Contains methods for converting the constants to and from
Strings
and int
values.
Field Summary | |
---|---|
static int |
_all
Specifies the directory item type as all. |
static int |
_allFolders
Specifies the directory item type as all folders. |
static int |
_connection
Specifies the directory item type as a connection. |
static int |
_folder
Specifies the directory item type as a folder. |
static int |
_report
Specifies the directory item type as a report. |
static int |
_server
Specifies the directory item type as a server. |
static int |
_service
Specifies the directory item type as a service. |
static int |
_unknown
Specifies the directory item type as unknown. |
static DirectoryItemType |
all
Specifies the directory item type as all. |
static DirectoryItemType |
allFolders
Specifies the directory item type as all folders. |
static DirectoryItemType |
connection
Specifies the directory item type as a connection. |
static DirectoryItemType |
folder
Specifies the directory item type as a folder. |
static DirectoryItemType |
report
Specifies the directory item type as a report. |
static DirectoryItemType |
server
Specifies the directory item type as a server. |
static DirectoryItemType |
service
Specifies the directory item type as a service. |
static DirectoryItemType |
unknown
Specifies the directory item type as unknown. |
Method Summary | |
---|---|
static DirectoryItemType |
from_int(int value)
Converts a directory item from an int to a value. |
static DirectoryItemType |
from_string(java.lang.String sVal)
Converts a directory item from a String to a value. |
java.lang.String |
toString()
Converts the directory item type to a String . |
int |
value()
Returns the value for the directory item type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _unknown
Specifies the directory item type as unknown.
public static final int _server
Specifies the directory item type as a server.
public static final int _folder
Specifies the directory item type as a folder.
public static final int _report
Specifies the directory item type as a report.
public static final int _connection
Specifies the directory item type as a connection.
public static final int _service
Specifies the directory item type as a service.
public static final int _allFolders
Specifies the directory item type as all folders. This includes server, folder, and service types.
public static final int _all
Specifies the directory item type as all. This includes all types of directory items including unknown.
public static final DirectoryItemType unknown
Specifies the directory item type as unknown.
public static final DirectoryItemType server
Specifies the directory item type as a server.
public static final DirectoryItemType folder
Specifies the directory item type as a folder.
public static final DirectoryItemType report
Specifies the directory item type as a report.
public static final DirectoryItemType connection
Specifies the directory item type as a connection.
public static final DirectoryItemType service
Specifies the directory item type as a service.
public static final DirectoryItemType allFolders
Specifies the directory item type as all folders. This includes server, folder, and service types.
public static final DirectoryItemType all
Specifies the directory item type as all. This includes all types of directory items including unknown.
Method Detail |
---|
public static final DirectoryItemType from_int(int value)
Converts a directory item from an int
to a value.
value
- The int
value that you want
to convert from.
DirectoryItemType
object.public static final DirectoryItemType from_string(java.lang.String sVal)
Converts a directory item from a String
to a value.
sVal
- The String
value that you want
to convert from.
DirectoryItemType
object.public java.lang.String toString()
Converts the directory item type to a String
.
toString
in class java.lang.Object
String
.public int value()
Returns the value for the directory item type.
int
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |