public final class IDLTypesUtil extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
FOLLOW_RMIC |
static int |
INVALID_TYPE |
static int |
VALID_TYPE |
Constructor and Description |
---|
IDLTypesUtil() |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeNameForProperty(String propertyName) |
IDLType |
getPrimitiveIDLTypeMapping(Class<?> c)
Return IDL Type name for primitive types as defined in Section 1.3.3 of Java2IDL spec or null if not a primitive
type.
|
IDLType |
getSpecialCaseIDLTypeMapping(Class<?> c)
Return IDL Type name for special case type mappings as defined in Table 1-1 of Java2IDL spec or null if given
class is not a special type.
|
boolean |
isArray(Class<?> c)
Section 1.2.5
|
boolean |
isCheckedException(Class<?> c) |
boolean |
isEntity(Class<?> c)
Section 1.2.8
|
boolean |
isException(Class<?> c)
Section 1.2.6
|
boolean |
isObjectReference(Class<?> c)
Section 1.2.7
|
boolean |
isPrimitive(Class<?> c)
Section 1.2.2 Primitive Types
|
boolean |
isPropertyAccessorMethod(Method m,
Class<?> c)
Return true if given method is legal property accessor as defined in Section 1.3.4.3 of Java2IDL spec.
|
boolean |
isRemoteException(Class<?> c) |
boolean |
isRemoteInterface(Class<?> c) |
boolean |
isValue(Class<?> c)
Section 1.2.4
|
void |
validateRemoteInterface(Class<?> c)
Validate a class to ensure it conforms to the rules for a Java RMI/IIOP interface.
|
public static final int VALID_TYPE
public static final int INVALID_TYPE
public static final boolean FOLLOW_RMIC
public void validateRemoteInterface(Class<?> c) throws IDLTypeException
IDLTypeException
- if not a valid RMI/IIOP interface.public boolean isRemoteInterface(Class<?> c)
public boolean isPrimitive(Class<?> c)
public boolean isValue(Class<?> c)
public boolean isArray(Class<?> c)
public boolean isException(Class<?> c)
public boolean isRemoteException(Class<?> c)
public boolean isCheckedException(Class<?> c)
public boolean isObjectReference(Class<?> c)
public boolean isEntity(Class<?> c)
public boolean isPropertyAccessorMethod(Method m, Class<?> c)
public IDLType getPrimitiveIDLTypeMapping(Class<?> c)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.