com.jguild.jrpm.io.constant
Class LeadOS

java.lang.Object
  extended bycom.jguild.jrpm.io.constant.LeadOS
All Implemented Interfaces:
EnumIf

public final class LeadOS
extends java.lang.Object
implements EnumIf

Constants for OS type.


Field Summary
static int _AIX
           
static int _BSD_OS
           
static int _CYGWIN_9X
           
static int _CYGWIN_NT
           
static int _FREEBSD
           
static int _HPUX
           
static int _IRIX
           
static int _IRIX64
           
static int _LINUX
           
static int _LINUX_390
           
static int _MACHTEN
           
static int _MINT
           
static int _NEXTSTEP
           
static int _OS_390
           
static int _OSF
           
static int _SCO_SV
           
static int _SUNOS4
           
static int _SUNOS5
           
static int _UNIX_SV
           
static int _VM_ESA
           
static LeadOS AIX
           
static LeadOS BSD_OS
           
static LeadOS CYGWIN_9X
           
static LeadOS CYGWIN_NT
           
static LeadOS FREEBSD
           
static LeadOS HPUX
           
static LeadOS IRIX
           
static LeadOS IRIX64
           
static LeadOS LINUX
           
static LeadOS LINUX_390
           
static LeadOS MACHTEN
           
static LeadOS MINT
           
static LeadOS NEXTSTEP
           
static LeadOS OS_390
           
static LeadOS OSF
           
static LeadOS SCO_SV
           
static LeadOS SUNOS4
           
static LeadOS SUNOS5
           
static LeadOS UNIX_SV
           
static LeadOS UNKNOWN
           
static LeadOS VM_ESA
           
 
Fields inherited from interface com.jguild.jrpm.io.constant.EnumIf
_UNKNOWN
 
Method Summary
static boolean containsEnumId(java.lang.Long id)
          Check if this enum class contains a enum of a specified id
static EnumIf getEnumById(long id)
          Get a enum by id
static EnumIf getEnumByName(java.lang.String name)
          Get a enum by name
static java.lang.String[] getEnumNames()
          Get all defined enums of this class
 long getId()
          Get the id of this enum object
static LeadOS getLeadOS(int os)
          Get a enum of this class by id
 java.lang.String getName()
          Get the name of this enum object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final LeadOS UNKNOWN

_LINUX

public static final int _LINUX
See Also:
Constant Field Values

LINUX

public static final LeadOS LINUX

_IRIX

public static final int _IRIX
See Also:
Constant Field Values

IRIX

public static final LeadOS IRIX

_SUNOS5

public static final int _SUNOS5
See Also:
Constant Field Values

SUNOS5

public static final LeadOS SUNOS5

_SUNOS4

public static final int _SUNOS4
See Also:
Constant Field Values

SUNOS4

public static final LeadOS SUNOS4

_AIX

public static final int _AIX
See Also:
Constant Field Values

AIX

public static final LeadOS AIX

_HPUX

public static final int _HPUX
See Also:
Constant Field Values

HPUX

public static final LeadOS HPUX

_OSF

public static final int _OSF
See Also:
Constant Field Values

OSF

public static final LeadOS OSF

_FREEBSD

public static final int _FREEBSD
See Also:
Constant Field Values

FREEBSD

public static final LeadOS FREEBSD

_SCO_SV

public static final int _SCO_SV
See Also:
Constant Field Values

SCO_SV

public static final LeadOS SCO_SV

_IRIX64

public static final int _IRIX64
See Also:
Constant Field Values

IRIX64

public static final LeadOS IRIX64

_NEXTSTEP

public static final int _NEXTSTEP
See Also:
Constant Field Values

NEXTSTEP

public static final LeadOS NEXTSTEP

_BSD_OS

public static final int _BSD_OS
See Also:
Constant Field Values

BSD_OS

public static final LeadOS BSD_OS

_MACHTEN

public static final int _MACHTEN
See Also:
Constant Field Values

MACHTEN

public static final LeadOS MACHTEN

_CYGWIN_NT

public static final int _CYGWIN_NT
See Also:
Constant Field Values

CYGWIN_NT

public static final LeadOS CYGWIN_NT

_CYGWIN_9X

public static final int _CYGWIN_9X
See Also:
Constant Field Values

CYGWIN_9X

public static final LeadOS CYGWIN_9X

_UNIX_SV

public static final int _UNIX_SV
See Also:
Constant Field Values

UNIX_SV

public static final LeadOS UNIX_SV

_MINT

public static final int _MINT
See Also:
Constant Field Values

MINT

public static final LeadOS MINT

_OS_390

public static final int _OS_390
See Also:
Constant Field Values

OS_390

public static final LeadOS OS_390

_VM_ESA

public static final int _VM_ESA
See Also:
Constant Field Values

VM_ESA

public static final LeadOS VM_ESA

_LINUX_390

public static final int _LINUX_390
See Also:
Constant Field Values

LINUX_390

public static final LeadOS LINUX_390
Method Detail

getEnumById

public static EnumIf getEnumById(long id)
Get a enum by id

Parameters:
id - The id of the enum
Returns:
The enum object

getEnumByName

public static EnumIf getEnumByName(java.lang.String name)
Get a enum by name

Parameters:
name - The name of the enum
Returns:
The enum object

getEnumNames

public static java.lang.String[] getEnumNames()
Get all defined enums of this class

Returns:
An array of all defined enum objects

getLeadOS

public static LeadOS getLeadOS(int os)
Get a enum of this class by id

Parameters:
os - The id
Returns:
The enum object

containsEnumId

public static boolean containsEnumId(java.lang.Long id)
Check if this enum class contains a enum of a specified id

Parameters:
id - The id of the enum
Returns:
TRUE if the enum is defined in this class

getId

public long getId()
Description copied from interface: EnumIf
Get the id of this enum object

Specified by:
getId in interface EnumIf
Returns:
The id

getName

public java.lang.String getName()
Description copied from interface: EnumIf
Get the name of this enum object

Specified by:
getName in interface EnumIf
Returns:
The name

toString

public java.lang.String toString()


Copyright © 2002-2005 Sourceforge. All Rights Reserved.