Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jguild.jrpm.io.constant
Class LeadOS  view LeadOS download LeadOS.java

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
           
private  EnumIf delegate
           
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
 
Constructor Summary
private LeadOS(int os, java.lang.String name)
           
 
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()
          Convert this Object to a human-readable String.
 
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

delegate

private EnumIf delegate
Constructor Detail

LeadOS

private LeadOS(int os,
               java.lang.String name)
Method Detail

getEnumById

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


getEnumByName

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


getEnumNames

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


getLeadOS

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


containsEnumId

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


getId

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

Specified by:
getId in interface EnumIf

getName

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

Specified by:
getName in interface EnumIf

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).