com.jguild.jrpm.io.constant
Class LeadArchitecture

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

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

Constants for Architecture type.

Version:
$Id: LeadArchitecture.java,v 1.3 2003/10/20 16:32:12 mkuss Exp $

Field Summary
static int _A68000
           
static int _ALPHA
           
static int _ARM
           
static int _I386
           
static int _IA64
           
static int _M68KMINT
           
static int _MIPS
           
static int _MIPSEL
           
static int _POWERPC
           
static int _RS6000
           
static int _S390
           
static int _S390X
           
static int _SGI
           
static int _SPARC
           
static int _SPARC64
           
static LeadArchitecture A68000
           
static LeadArchitecture ALPHA
           
static LeadArchitecture ARM
           
static LeadArchitecture I386
           
static LeadArchitecture IA64
           
static LeadArchitecture M68KMINT
           
static LeadArchitecture MIPS
           
static LeadArchitecture MIPSEL
           
static LeadArchitecture POWERPC
           
static LeadArchitecture RS6000
           
static LeadArchitecture S390
           
static LeadArchitecture S390X
           
static LeadArchitecture SGI
           
static LeadArchitecture SPARC
           
static LeadArchitecture SPARC64
           
static LeadArchitecture UNKNOWN
           
 
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 LeadArchitecture getLeadArchitecture(int architecture)
          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 LeadArchitecture UNKNOWN

_I386

public static final int _I386
See Also:
Constant Field Values

I386

public static final LeadArchitecture I386

_ALPHA

public static final int _ALPHA
See Also:
Constant Field Values

ALPHA

public static final LeadArchitecture ALPHA

_SPARC

public static final int _SPARC
See Also:
Constant Field Values

SPARC

public static final LeadArchitecture SPARC

_MIPS

public static final int _MIPS
See Also:
Constant Field Values

MIPS

public static final LeadArchitecture MIPS

_POWERPC

public static final int _POWERPC
See Also:
Constant Field Values

POWERPC

public static final LeadArchitecture POWERPC

_A68000

public static final int _A68000
See Also:
Constant Field Values

A68000

public static final LeadArchitecture A68000

_SGI

public static final int _SGI
See Also:
Constant Field Values

SGI

public static final LeadArchitecture SGI

_RS6000

public static final int _RS6000
See Also:
Constant Field Values

RS6000

public static final LeadArchitecture RS6000

_IA64

public static final int _IA64
See Also:
Constant Field Values

IA64

public static final LeadArchitecture IA64

_SPARC64

public static final int _SPARC64
See Also:
Constant Field Values

SPARC64

public static final LeadArchitecture SPARC64

_MIPSEL

public static final int _MIPSEL
See Also:
Constant Field Values

MIPSEL

public static final LeadArchitecture MIPSEL

_ARM

public static final int _ARM
See Also:
Constant Field Values

ARM

public static final LeadArchitecture ARM

_M68KMINT

public static final int _M68KMINT
See Also:
Constant Field Values

M68KMINT

public static final LeadArchitecture M68KMINT

_S390

public static final int _S390
See Also:
Constant Field Values

S390

public static final LeadArchitecture S390

_S390X

public static final int _S390X
See Also:
Constant Field Values

S390X

public static final LeadArchitecture S390X
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

getLeadArchitecture

public static LeadArchitecture getLeadArchitecture(int architecture)
Get a enum of this class by id

Parameters:
architecture - 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.