org.jacorb.idl
Enum IDLTypes
java.lang.Object
java.lang.Enum<IDLTypes>
org.jacorb.idl.IDLTypes
- All Implemented Interfaces:
- Serializable, Comparable<IDLTypes>
public enum IDLTypes
- extends Enum<IDLTypes>
Enum of idl types
- Version:
- $Id: IDLTypes.java,v 1.2 2011-05-10 15:40:36 nick.cross Exp $
- Author:
- Alexander Birchenko
|
Method Summary |
static boolean |
isTypeKind(IDLTypes type)
|
static IDLTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IDLTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ARGUMENT
public static final IDLTypes ARGUMENT
CONSTANT
public static final IDLTypes CONSTANT
DECLARATOR
public static final IDLTypes DECLARATOR
DUMMY
public static final IDLTypes DUMMY
ENUM_LABEL
public static final IDLTypes ENUM_LABEL
FACTORY
public static final IDLTypes FACTORY
INTERFACE
public static final IDLTypes INTERFACE
MODULE
public static final IDLTypes MODULE
NATIVE
public static final IDLTypes NATIVE
OPERATION
public static final IDLTypes OPERATION
PSEUDO_INTERFACE
public static final IDLTypes PSEUDO_INTERFACE
TYPE
public static final IDLTypes TYPE
TYPE_STRUCT
public static final IDLTypes TYPE_STRUCT
TYPE_UNION
public static final IDLTypes TYPE_UNION
values
public static IDLTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IDLTypes c : IDLTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IDLTypes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
isTypeKind
public static boolean isTypeKind(IDLTypes type)
Copyright © 2012 JacORB. All Rights Reserved.