public class TClrObject extends TClrBase implements IClrObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYSTEM_OBJECT |
Modifier | Constructor and Description |
---|---|
|
TClrObject(DotNetNativeTypes.ClrObject clrObject)
Initializes a new instance of the .Net object class with the specified clr Object pointer.
|
|
TClrObject(java.lang.Object value)
Initializes a new instance of the .Net object class with the specified java Object.
|
protected |
TClrObject(java.lang.String typeName,
boolean isStaticType)
Initializes a new instance or static instance of the .Net Object class with the specified type name and isStaticType.
|
protected |
TClrObject(java.lang.String typeName,
DotNetNativeTypes.ClrObject... arguments)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
DotNetNativeTypes.ClrObjectArray arguments)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
DotNetNativeTypes.ClrObjectArray arguments,
TRefObject<java.lang.Object[]> refParameters)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
java.lang.Object... arguments)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
java.lang.Object[] arguments,
java.lang.String[] argumentTypeNames)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
java.lang.Object[] arguments,
java.lang.String[] argumentTypeNames,
TRefObject<java.lang.Object[]> refParameters)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String typeName,
java.lang.Object[] arguments,
TRefObject<java.lang.Object[]> refParameters)
Initializes a new instance of the .Net Object class with the specified type and the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String genericTypeName,
java.lang.String[] genericTypeNames,
DotNetNativeTypes.ClrObject[] arguments)
Initializes a new instance of the .Net generic object class with the specified type and Generic Types using the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String genericTypeName,
java.lang.String[] genericTypeNames,
DotNetNativeTypes.ClrObjectArray arguments)
Initializes a new instance of the .Net generic object class with the specified type and Generic Types using the constructor that best matches the specified parameters.
|
protected |
TClrObject(java.lang.String genericTypeName,
java.lang.String[] genericTypeNames,
java.lang.Object[] arguments)
Initializes a new instance of the .Net generic object class with the specified type and Generic Types using the constructor that best matches the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AsType(java.lang.Class<T> type)
Casts the currently stored .Net value to another type.
|
<TResult extends TClrBase> |
CastTo(java.lang.Object source,
IClrType type,
java.lang.Class<TResult> clazz)
Cast the object to the specified type.
|
<TResult extends TClrBase> |
CastTo(java.lang.Object source,
java.lang.String typeName,
java.lang.Class<TResult> clazz)
Cast the object to the specified type.
|
void |
close() |
static TClrObject |
createBaseObject()
Create an instance of the base .Net object class.
|
static <T> T |
createInstance(DotNetNativeTypes.ClrObject paramObject,
java.lang.Class<T> clazz)
Creates an instance of the .Net type from the java class of type TClrBase using the constructor that best matches the specified parameter.
|
static <T> T |
createInstance(java.lang.Object paramObject,
java.lang.Class<T> clazz)
Creates an instance of the .Net type from the java class of type TClrBase using the constructor that best matches the specified parameter.
|
java.lang.Object |
getArrayElement(int index)
Gets the value at the specified position in the one-dimensional Array.
|
int |
getArrayLength()
Gets the array length if the stored value is an array.
|
protected DotNetNativeTypes.ClrObject |
getClrObject()
Gets the base clr object pointer.
|
DotNetNativeTypes.ClrObject |
getDefaultPointer()
Gets the default clr object pointer.
|
<T> T |
getFieldValue(java.lang.String fieldName,
java.lang.Class<T> returnClass) |
protected java.math.BigDecimal |
getFieldValueAsBigDecimal(java.lang.String fieldName)
Gets the BigDecimal value of a field with the specified name.
|
protected boolean |
getFieldValueAsBoolean(java.lang.String fieldName)
Gets the boolean value of a field with the specified name.
|
protected BigByte |
getFieldValueAsByte(java.lang.String fieldName)
Gets the BigByte value of a field with the specified name.
|
protected char |
getFieldValueAsChar(java.lang.String fieldName)
Gets the char value of a field with the specified name.
|
protected DotNetNativeTypes.ClrDateTime |
getFieldValueAsClrDateTime(java.lang.String fieldName)
Gets the ClrDateTime value of a field with the specified name.
|
protected DotNetNativeTypes.ClrDecimal |
getFieldValueAsClrDecimal(java.lang.String fieldName)
Gets the ClrDecimal value of a field with the specified name.
|
protected DotNetNativeTypes.ClrObject |
getFieldValueAsClrObject(java.lang.String fieldName)
Gets the value of a field with the specified name.
|
protected java.util.Calendar |
getFieldValueAsDateTime(java.lang.String fieldName)
Gets the Calendar value of a field with the specified name.
|
protected double |
getFieldValueAsDouble(java.lang.String fieldName)
Gets the double value of a field with the specified name.
|
protected float |
getFieldValueAsFloat(java.lang.String fieldName)
Gets the float value of a field with the specified name.
|
protected int |
getFieldValueAsInt(java.lang.String fieldName)
Gets the integer value of a field with the specified name.
|
protected long |
getFieldValueAsLong(java.lang.String fieldName)
Gets the long value of a field with the specified name.
|
protected byte |
getFieldValueAsSByte(java.lang.String fieldName)
Gets the byte value of a field with the specified name.
|
protected short |
getFieldValueAsShort(java.lang.String fieldName)
Gets the short value of a field with the specified name.
|
protected java.lang.String |
getFieldValueAsString(java.lang.String fieldName)
Gets the string value of a field with the specified name.
|
protected UInteger |
getFieldValueAsUInt(java.lang.String fieldName)
Gets the uint value of a field with the specified name.
|
protected ULong |
getFieldValueAsULong(java.lang.String fieldName)
Gets the ulong value of a field with the specified name.
|
protected UShort |
getFieldValueAsUShort(java.lang.String fieldName)
Gets the ushort value of a field with the specified name.
|
java.lang.String |
getObjectAsString()
Gets a string that represents the current object.
|
<T> T |
getPropertyIndexValue(java.lang.String propertyName,
int index,
java.lang.Class<T> returnClass) |
protected java.math.BigDecimal |
getPropertyIndexValueAsBigDecimal(java.lang.String propertyName,
int index)
Gets the property BigDecimal value with the specified property name and index value for indexed properties.
|
protected java.math.BigDecimal |
getPropertyIndexValueAsBigDecimal(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the BigDecimal property index value of a specified indexer object.
|
protected boolean |
getPropertyIndexValueAsBoolean(java.lang.String propertyName,
int index)
Gets the property boolean value with the specified property name and index value for indexed properties.
|
protected boolean |
getPropertyIndexValueAsBoolean(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the boolean property index value of a specified indexer object.
|
protected BigByte |
getPropertyIndexValueAsByte(java.lang.String propertyName,
int index)
Gets the property BigByte value with the specified property name and index value for indexed properties.
|
protected BigByte |
getPropertyIndexValueAsByte(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the byte property index value of a specified indexer object.
|
protected char |
getPropertyIndexValueAsChar(java.lang.String propertyName,
int index)
Gets the property char value with the specified property name and index value for indexed properties.
|
protected char |
getPropertyIndexValueAsChar(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the char property index value of a specified indexer object.
|
protected DotNetNativeTypes.ClrDateTime |
getPropertyIndexValueAsClrDateTime(java.lang.String propertyName,
int index)
Gets the property ClrDateTime value with the specified property name and index value for indexed properties.
|
protected DotNetNativeTypes.ClrDecimal |
getPropertyIndexValueAsClrDecimal(java.lang.String propertyName,
int index)
Gets the property ClrDecimal value with the specified property name and index value for indexed properties.
|
protected DotNetNativeTypes.ClrObject |
getPropertyIndexValueAsClrObject(java.lang.String propertyName,
int index)
Gets the property value with the specified property name and index value for indexed properties.
|
protected DotNetNativeTypes.ClrObject |
getPropertyIndexValueAsClrObject(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Gets the property value with the specified property name, the index type names and values for indexed properties.
|
protected java.util.Calendar |
getPropertyIndexValueAsDateTime(java.lang.String propertyName,
int index)
Gets the property Calendar value with the specified property name and index value for indexed properties.
|
protected java.util.Calendar |
getPropertyIndexValueAsDateTime(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the DateTime property index value of a specified indexer object.
|
protected double |
getPropertyIndexValueAsDouble(java.lang.String propertyName,
int index)
Gets the property double value with the specified property name and index value for indexed properties.
|
protected double |
getPropertyIndexValueAsDouble(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the double property index value of a specified indexer object.
|
protected float |
getPropertyIndexValueAsFloat(java.lang.String propertyName,
int index)
Gets the property float value with the specified property name and index value for indexed properties.
|
protected float |
getPropertyIndexValueAsFloat(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the float property index value of a specified indexer object.
|
protected int |
getPropertyIndexValueAsInt(java.lang.String propertyName,
int index)
Gets the property integer value with the specified property name and index value for indexed properties.
|
protected int |
getPropertyIndexValueAsInt(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the integer property index value of a specified indexer object.
|
protected long |
getPropertyIndexValueAsLong(java.lang.String propertyName,
int index)
Gets the property long value with the specified property name and index value for indexed properties.
|
protected long |
getPropertyIndexValueAsLong(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the long property index value of a specified indexer object.
|
protected byte |
getPropertyIndexValueAsSByte(java.lang.String propertyName,
int index)
Gets the property byte value with the specified property name and index value for indexed properties.
|
protected byte |
getPropertyIndexValueAsSByte(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the byte property index value of a specified indexer object.
|
protected short |
getPropertyIndexValueAsShort(java.lang.String propertyName,
int index)
Gets the property short value with the specified property name and index value for indexed properties.
|
protected short |
getPropertyIndexValueAsShort(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the Short property index value of a specified indexer object.
|
protected java.lang.String |
getPropertyIndexValueAsString(java.lang.String propertyName,
int index)
Gets the property string value with the specified property name and index value for indexed properties.
|
protected java.lang.String |
getPropertyIndexValueAsString(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the String property index value of a specified indexer object.
|
protected UInteger |
getPropertyIndexValueAsUInt(java.lang.String propertyName,
int index)
Gets the property uint value with the specified property name and index value for indexed properties.
|
protected UInteger |
getPropertyIndexValueAsUInt(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the UInteger property index value of a specified indexer object.
|
protected ULong |
getPropertyIndexValueAsULong(java.lang.String propertyName,
int index)
Gets the property ulong value with the specified property name and index value for indexed properties.
|
protected ULong |
getPropertyIndexValueAsULong(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the ULong property index value of a specified indexer object.
|
protected UShort |
getPropertyIndexValueAsUShort(java.lang.String propertyName,
int index)
Gets the property ushort value with the specified property name and index value for indexed properties.
|
protected UShort |
getPropertyIndexValueAsUShort(java.lang.String propertyName,
java.lang.String[] typeNames,
java.lang.Object[] indices)
Searches for the public property with the specified name and returns the UShort property index value of a specified indexer object.
|
<T> T |
getPropertyValue(java.lang.String propertyName,
java.lang.Class<T> returnClass) |
protected java.math.BigDecimal |
getPropertyValueAsBigDecimal(java.lang.String propertyName)
Gets the property BigDecimal value using the specified property name.
|
protected boolean |
getPropertyValueAsBoolean(java.lang.String propertyName)
Gets the property boolean value using the specified property name.
|
protected BigByte |
getPropertyValueAsByte(java.lang.String propertyName)
Gets the property BigByte value using the specified property name.
|
protected char |
getPropertyValueAsChar(java.lang.String propertyName)
Gets the property char value using the specified property name.
|
protected DotNetNativeTypes.ClrDateTime |
getPropertyValueAsClrDateTime(java.lang.String propertyName)
Gets the property ClrDateTime value using the specified property name.
|
protected DotNetNativeTypes.ClrDecimal |
getPropertyValueAsClrDecimal(java.lang.String propertyName)
Gets the property ClrDecimal value using the specified property name.
|
protected DotNetNativeTypes.ClrObject |
getPropertyValueAsClrObject(java.lang.String propertyName)
Gets the property value using the specified property name.
|
protected java.util.Calendar |
getPropertyValueAsDateTime(java.lang.String propertyName)
Gets the property Calendar value using the specified property name.
|
protected double |
getPropertyValueAsDouble(java.lang.String propertyName)
Gets the property double value using the specified property name.
|
protected float |
getPropertyValueAsFloat(java.lang.String propertyName)
Gets the property float value using the specified property name.
|
protected int |
getPropertyValueAsInt(java.lang.String propertyName)
Gets the property integer value using the specified property name.
|
protected long |
getPropertyValueAsLong(java.lang.String propertyName)
Gets the property long value using the specified property name.
|
protected byte |
getPropertyValueAsSByte(java.lang.String propertyName)
Gets the property byte value using the specified property name.
|
protected short |
getPropertyValueAsShort(java.lang.String propertyName)
Gets the property short value using the specified property name.
|
protected java.lang.String |
getPropertyValueAsString(java.lang.String propertyName)
Gets the property string value using the specified property name.
|
protected UInteger |
getPropertyValueAsUInt(java.lang.String propertyName)
Gets the property uint value using the specified property name.
|
protected ULong |
getPropertyValueAsULong(java.lang.String propertyName)
Gets the property ulong value using the specified property name.
|
protected UShort |
getPropertyValueAsUShort(java.lang.String propertyName)
Gets the property ushort value using the specified property name.
|
TypeCode |
getTypeCode()
Gets the TypeCode for the specified object.
|
protected java.math.BigDecimal |
invokeBigDecimalMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a BigDecimal value.
|
protected java.math.BigDecimal |
invokeBigDecimalMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a BigDecimal value.
|
protected boolean |
invokeBooleanMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a boolean value.
|
protected boolean |
invokeBooleanMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a boolean value.
|
protected BigByte |
invokeByteMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a BigByte value.
|
protected BigByte |
invokeByteMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a BigByte value.
|
protected char |
invokeCharMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a char value.
|
protected char |
invokeCharMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a char value.
|
protected DotNetNativeTypes.ClrDateTime |
invokeClrDateTimeMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a Calendar value.
|
protected DotNetNativeTypes.ClrDateTime |
invokeClrDateTimeMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a ClrDateTime value.
|
protected DotNetNativeTypes.ClrDecimal |
invokeClrDecimalMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a ClrDecimal value.
|
protected DotNetNativeTypes.ClrDecimal |
invokeClrDecimalMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a ClrDecimal value.
|
protected DotNetNativeTypes.ClrObject |
invokeClrObjectMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters.
|
protected DotNetNativeTypes.ClrObject |
invokeClrObjectMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a ClrObject value.
|
protected java.util.Calendar |
invokeDateTimeMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a Calendar value.
|
protected java.util.Calendar |
invokeDateTimeMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a Calendar value.
|
protected double |
invokeDoubleMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a double value.
|
protected double |
invokeDoubleMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a double value.
|
protected float |
invokeFloatMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a float value.
|
protected float |
invokeFloatMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a float value.
|
java.lang.Object |
invokeGenericMethod(java.lang.String methodName,
java.lang.String[] genericTypeNames)
Invokes the generic method represented by the current object instance,using the specified parameters.
|
<T> T |
invokeGenericMethod(java.lang.String methodName,
java.lang.String[] GenericTypeNames,
java.lang.Class<T> returnClass) |
<T> T |
invokeGenericMethod(java.lang.String methodName,
java.lang.String[] GenericTypeNames,
java.lang.String[] typeNames,
java.lang.Object[] parameters,
java.lang.Class<T> returnClass) |
protected int |
invokeIntMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a integer value.
|
protected int |
invokeIntMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a integer value.
|
protected long |
invokeLongMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a long value.
|
protected long |
invokeLongMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a long value.
|
java.lang.Object |
invokeMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters.
|
<T> T |
invokeMethod(java.lang.String methodName,
java.lang.Class<T> returnClass) |
<T> T |
invokeMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters,
java.lang.Class<T> returnClass) |
protected byte |
invokeSByteMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a byte value.
|
protected byte |
invokeSByteMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a byte value.
|
protected short |
invokeShortMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a short value.
|
protected short |
invokeShortMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a short value.
|
protected java.lang.String |
invokeStringMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a string value.
|
protected java.lang.String |
invokeStringMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a String value.
|
protected UInteger |
invokeUIntMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a uint value.
|
protected UInteger |
invokeUIntMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a uint value.
|
protected ULong |
invokeULongMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a ulong value.
|
protected ULong |
invokeULongMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a ulong value.
|
protected UShort |
invokeUShortMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and returns a ushort value.
|
protected UShort |
invokeUShortMethod(java.lang.String methodName,
java.lang.String[] typeNames,
java.lang.Object[] parameters)
Invokes the method represented by the current object instance, using the specified parameters and returns a ushort value.
|
void |
invokeVoidMethod(java.lang.String methodName)
Invokes the method represented by the current object instance, using the specified parameters and does not return any value.
|
boolean |
isArray()
Gets a boolean value that indicates whether the type is an array.
|
boolean |
isEnum()
Gets a boolean value indicating whether the current Type represents an enumeration.
|
boolean |
isGeneric()
Gets a boolean value indicating whether the current type is a generic type.
|
boolean |
isStatic()
Gets a boolean value indicating whether the current type is a static type.
|
void |
setArrayElement(int index,
java.lang.Object value)
Sets a value to the element at the specified position in the one-dimensional Array.
|
IClrArray |
toArray()
Gets an array that represents the current object.
|
java.lang.Object |
toObject()
Gets a java object that represents the current object.
|
java.lang.Object |
unWrap() |
clearRef, equals, getBaseObject, getFieldValue, getPropertyIndexValue, getPropertyIndexValue, getPropertyValue, getType, invokeGenericClrObjectMethod, invokeGenericMethod, invokeMethod, invokeVoidMethod, registerEvent, registerEventCallBack, registerEventCallBackWithReturn, setFieldValue, setPropertyIndexValue, setPropertyIndexValue, setPropertyValue, unRegisterEvent, unRegisterEventCallBack, unRegisterEventCallBackWithReturn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, getBaseObject, getFieldValue, getPropertyIndexValue, getPropertyIndexValue, getPropertyValue, getType, invokeGenericMethod, invokeMethod, invokeVoidMethod, registerEventCallBack, registerEventCallBackWithReturn, setFieldValue, setPropertyIndexValue, setPropertyIndexValue, setPropertyValue, unRegisterEventCallBack, unRegisterEventCallBackWithReturn
public static final java.lang.String SYSTEM_OBJECT
protected TClrObject(java.lang.String typeName, boolean isStaticType) throws EClrError
typeName
- The type name of object to create.isStaticType
- Specifies whether to create a static type or an instance of the type.EClrError
protected TClrObject(java.lang.String typeName, DotNetNativeTypes.ClrObject... arguments) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String typeName, java.lang.Object... arguments) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String typeName, java.lang.Object[] arguments, java.lang.String[] argumentTypeNames) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.argumentTypeNames
- An array of arguments type names that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String typeName, java.lang.Object[] arguments, TRefObject<java.lang.Object[]> refParameters) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.refParameters
- A reference parameter which contains the array of parameter values from the constructor parameters with OUT or REF.EClrError
protected TClrObject(java.lang.String typeName, java.lang.Object[] arguments, java.lang.String[] argumentTypeNames, TRefObject<java.lang.Object[]> refParameters) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.argumentTypeNames
- An array of arguments type names that match in number, order, and type the parameters of the constructor to invoke.refParameters
- A reference parameter which contains the array of parameter values from the constructor parameters with OUT or REF.EClrError
protected TClrObject(java.lang.String typeName, DotNetNativeTypes.ClrObjectArray arguments) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String typeName, DotNetNativeTypes.ClrObjectArray arguments, TRefObject<java.lang.Object[]> refParameters) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.refParameters
- A reference parameter which contains the array of parameter values from the constructor parameters with OUT or REF.EClrError
protected TClrObject(java.lang.String genericTypeName, java.lang.String[] genericTypeNames, java.lang.Object[] arguments) throws EClrError
genericTypeName
- The type name of generic object to create.genericTypeNames
- A string of generic type names separated by commas or semi-colon.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String genericTypeName, java.lang.String[] genericTypeNames, DotNetNativeTypes.ClrObject[] arguments) throws EClrError
genericTypeName
- The type name of generic object to create.genericTypeNames
- A string of generic type names separated by commas or semi-colon.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
protected TClrObject(java.lang.String genericTypeName, java.lang.String[] genericTypeNames, DotNetNativeTypes.ClrObjectArray arguments) throws EClrError
genericTypeName
- The type name of generic object to create.genericTypeNames
- A string of generic type names separated by commas or semi-colon.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
public TClrObject(DotNetNativeTypes.ClrObject clrObject)
clrObject
- Specifies clr type pointerpublic static <T> T createInstance(DotNetNativeTypes.ClrObject paramObject, java.lang.Class<T> clazz) throws java.lang.Exception
T
- paramObject
- The argument of the constructorclazz
- The java class of type IClrBase which contains the the .Net type to create.java.lang.Exception
public static <T> T createInstance(java.lang.Object paramObject, java.lang.Class<T> clazz) throws java.lang.Exception
T
- paramObject
- The argument of the constructorclazz
- The java class of type IClrBase which contains the the .Net type to create.java.lang.Exception
public static TClrObject createBaseObject() throws EClrError
EClrError
public void close() throws java.lang.Exception
public DotNetNativeTypes.ClrObject getDefaultPointer()
getDefaultPointer
in interface IClrObject
public boolean isStatic() throws EClrError
isStatic
in interface IClrObject
EClrError
public boolean isGeneric() throws EClrError
isGeneric
in interface IClrObject
EClrError
public boolean isArray() throws EClrError
isArray
in interface IClrObject
EClrError
public boolean isEnum() throws EClrError
isEnum
in interface IClrObject
EClrError
public TypeCode getTypeCode() throws EClrError
getTypeCode
in interface IClrObject
EClrError
public java.lang.String getObjectAsString() throws EClrError
getObjectAsString
in interface IClrObject
EClrError
public int getArrayLength() throws EClrError
getArrayLength
in interface IClrObject
EClrError
public java.lang.Object getArrayElement(int index) throws EClrError
getArrayElement
in interface IClrObject
index
- A 32-bit integer that represents the position of the Array element to get.EClrError
public void setArrayElement(int index, java.lang.Object value) throws EClrError
setArrayElement
in interface IClrObject
index
- A 32-bit integer that represents the position of the Array element to set.value
- The new value for the specified element.EClrError
public <T> T getFieldValue(java.lang.String fieldName, java.lang.Class<T> returnClass) throws java.lang.Exception
getFieldValue
in interface IClrObject
java.lang.Exception
public <T> T getPropertyValue(java.lang.String propertyName, java.lang.Class<T> returnClass) throws java.lang.Exception
getPropertyValue
in interface IClrObject
java.lang.Exception
public <T> T getPropertyIndexValue(java.lang.String propertyName, int index, java.lang.Class<T> returnClass) throws java.lang.Exception
getPropertyIndexValue
in interface IClrObject
java.lang.Exception
public java.lang.Object toObject() throws EClrError
toObject
in interface IClrObject
EClrError
public IClrArray toArray() throws EClrError
toArray
in interface IClrObject
EClrError
protected DotNetNativeTypes.ClrObject getClrObject() throws EClrError
getClrObject
in class TClrBase
EClrError
protected boolean getFieldValueAsBoolean(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected DotNetNativeTypes.ClrObject getFieldValueAsClrObject(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected byte getFieldValueAsSByte(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected BigByte getFieldValueAsByte(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected java.util.Calendar getFieldValueAsDateTime(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected DotNetNativeTypes.ClrDateTime getFieldValueAsClrDateTime(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected short getFieldValueAsShort(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected UShort getFieldValueAsUShort(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected int getFieldValueAsInt(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected UInteger getFieldValueAsUInt(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected long getFieldValueAsLong(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected ULong getFieldValueAsULong(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected float getFieldValueAsFloat(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected double getFieldValueAsDouble(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected java.lang.String getFieldValueAsString(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected char getFieldValueAsChar(java.lang.String fieldName) throws java.lang.Exception
fieldName
- The string containing the name of the data field to get.EClrError
java.lang.Exception
protected DotNetNativeTypes.ClrDecimal getFieldValueAsClrDecimal(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected java.math.BigDecimal getFieldValueAsBigDecimal(java.lang.String fieldName) throws EClrError
fieldName
- The string containing the name of the data field to get.EClrError
protected DotNetNativeTypes.ClrObject getPropertyValueAsClrObject(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected boolean getPropertyValueAsBoolean(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected byte getPropertyValueAsSByte(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected BigByte getPropertyValueAsByte(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected java.util.Calendar getPropertyValueAsDateTime(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected DotNetNativeTypes.ClrDateTime getPropertyValueAsClrDateTime(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected short getPropertyValueAsShort(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected UShort getPropertyValueAsUShort(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected int getPropertyValueAsInt(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected UInteger getPropertyValueAsUInt(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected long getPropertyValueAsLong(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected ULong getPropertyValueAsULong(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected float getPropertyValueAsFloat(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected double getPropertyValueAsDouble(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected java.lang.String getPropertyValueAsString(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected char getPropertyValueAsChar(java.lang.String propertyName) throws java.lang.Exception
propertyName
- The char containing the name of the public property to get.EClrError
java.lang.Exception
protected DotNetNativeTypes.ClrDecimal getPropertyValueAsClrDecimal(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected java.math.BigDecimal getPropertyValueAsBigDecimal(java.lang.String propertyName) throws EClrError
propertyName
- The string containing the name of the public property to get.EClrError
protected DotNetNativeTypes.ClrObject getPropertyIndexValueAsClrObject(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected boolean getPropertyIndexValueAsBoolean(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected byte getPropertyIndexValueAsSByte(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected BigByte getPropertyIndexValueAsByte(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected java.util.Calendar getPropertyIndexValueAsDateTime(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected DotNetNativeTypes.ClrDateTime getPropertyIndexValueAsClrDateTime(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected short getPropertyIndexValueAsShort(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected UShort getPropertyIndexValueAsUShort(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected int getPropertyIndexValueAsInt(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected UInteger getPropertyIndexValueAsUInt(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected long getPropertyIndexValueAsLong(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected ULong getPropertyIndexValueAsULong(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected float getPropertyIndexValueAsFloat(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected double getPropertyIndexValueAsDouble(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected java.lang.String getPropertyIndexValueAsString(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected char getPropertyIndexValueAsChar(java.lang.String propertyName, int index) throws java.lang.Exception
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
java.lang.Exception
protected DotNetNativeTypes.ClrDecimal getPropertyIndexValueAsClrDecimal(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected java.math.BigDecimal getPropertyIndexValueAsBigDecimal(java.lang.String propertyName, int index) throws EClrError
propertyName
- The string containing the name of the public property to get.index
- Index value for indexed properties. The indexes of indexed properties are zero-based.EClrError
protected DotNetNativeTypes.ClrObject getPropertyIndexValueAsClrObject(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- The index type names for the indexed properties.indices
- The index values for indexed properties. The indexes of indexed properties are zero-based.EClrError
public void invokeVoidMethod(java.lang.String methodName) throws EClrError
invokeVoidMethod
in interface IClrObject
methodName
- The string containing the name of the public method to get.EClrError
public <T> T invokeMethod(java.lang.String methodName, java.lang.Class<T> returnClass) throws java.lang.Exception
invokeMethod
in interface IClrObject
EClrError
java.lang.Exception
public java.lang.Object invokeMethod(java.lang.String methodName) throws EClrError
invokeMethod
in interface IClrObject
methodName
- The string containing the name of the public method to get.EClrError
public <T> T invokeMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters, java.lang.Class<T> returnClass) throws java.lang.Exception
invokeMethod
in interface IClrObject
EClrError
java.lang.Exception
public <T> T invokeGenericMethod(java.lang.String methodName, java.lang.String[] GenericTypeNames, java.lang.Class<T> returnClass) throws java.lang.Exception
invokeGenericMethod
in interface IClrObject
EClrError
java.lang.Exception
public <T> T invokeGenericMethod(java.lang.String methodName, java.lang.String[] GenericTypeNames, java.lang.String[] typeNames, java.lang.Object[] parameters, java.lang.Class<T> returnClass) throws java.lang.Exception
invokeGenericMethod
in interface IClrObject
java.lang.Exception
protected DotNetNativeTypes.ClrObject invokeClrObjectMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected boolean invokeBooleanMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected byte invokeSByteMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected BigByte invokeByteMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected java.util.Calendar invokeDateTimeMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected DotNetNativeTypes.ClrDateTime invokeClrDateTimeMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected short invokeShortMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected UShort invokeUShortMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected int invokeIntMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected UInteger invokeUIntMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected long invokeLongMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected ULong invokeULongMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected float invokeFloatMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected double invokeDoubleMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected java.lang.String invokeStringMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected char invokeCharMethod(java.lang.String methodName) throws java.lang.Exception
methodName
- The string containing the name of the public method to get.EClrError
java.lang.Exception
protected java.math.BigDecimal invokeBigDecimalMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected DotNetNativeTypes.ClrDecimal invokeClrDecimalMethod(java.lang.String methodName) throws EClrError
methodName
- The string containing the name of the public method to get.EClrError
protected boolean invokeBooleanMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected byte invokeSByteMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected BigByte invokeByteMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected java.util.Calendar invokeDateTimeMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected DotNetNativeTypes.ClrDateTime invokeClrDateTimeMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected short invokeShortMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected UShort invokeUShortMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected int invokeIntMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected UInteger invokeUIntMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected long invokeLongMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected ULong invokeULongMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected float invokeFloatMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected double invokeDoubleMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected java.lang.String invokeStringMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected char invokeCharMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws java.lang.Exception
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
java.lang.Exception
protected java.math.BigDecimal invokeBigDecimalMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected DotNetNativeTypes.ClrDecimal invokeClrDecimalMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
protected DotNetNativeTypes.ClrObject invokeClrObjectMethod(java.lang.String methodName, java.lang.String[] typeNames, java.lang.Object[] parameters) throws EClrError
methodName
- The string containing the name of the public method to get.typeNames
- The names of the method parameter types separated by commas or semi-colon. The names of the parameter types has the same number, order as the parameters of the method to be invoked.parameters
- An argument list for the invoked method. This is an array of objects with the same number, order, and type as the parameters of the method to be invoked.EClrError
public java.lang.Object invokeGenericMethod(java.lang.String methodName, java.lang.String[] genericTypeNames) throws EClrError
invokeGenericMethod
in interface IClrObject
methodName
- The string containing the name of the public method to get.genericTypeNames
- The names of the types separated by commas or semi-colon which will be substituted for the type parameters of the current object generic method definition.EClrError
public java.lang.Object unWrap() throws EClrError
unWrap
in interface IClrObject
EClrError
public <TResult extends TClrBase> TResult CastTo(java.lang.Object source, java.lang.String typeName, java.lang.Class<TResult> clazz) throws java.lang.Exception
CastTo
in interface IClrObject
TResult
- The IClrObject typesource
- The Object to be cast to the specified type.typeName
- The type to cast the source to.clazz
- The Java class of type IClrObject which will be created to hold reference to the cast .Net object.java.lang.Exception
public <TResult extends TClrBase> TResult CastTo(java.lang.Object source, IClrType type, java.lang.Class<TResult> clazz) throws java.lang.Exception
CastTo
in interface IClrObject
TResult
- The IClrObject Typesource
- The object to be casted.type
- The type of the .Net object to be converted to.clazz
- The Java class of type IClrObject which will be created to hold reference to the cast .Net object.java.lang.Exception
public <T> T AsType(java.lang.Class<T> type) throws java.lang.Exception
AsType
in interface IClrObject
type
- The type to be converted to.java.lang.Exception
protected boolean getPropertyIndexValueAsBoolean(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected byte getPropertyIndexValueAsSByte(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected BigByte getPropertyIndexValueAsByte(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected java.util.Calendar getPropertyIndexValueAsDateTime(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected short getPropertyIndexValueAsShort(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected UShort getPropertyIndexValueAsUShort(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected int getPropertyIndexValueAsInt(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected UInteger getPropertyIndexValueAsUInt(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected long getPropertyIndexValueAsLong(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected ULong getPropertyIndexValueAsULong(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected float getPropertyIndexValueAsFloat(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected double getPropertyIndexValueAsDouble(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected java.lang.String getPropertyIndexValueAsString(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
protected char getPropertyIndexValueAsChar(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws java.lang.Exception
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError
java.lang.Exception
protected java.math.BigDecimal getPropertyIndexValueAsBigDecimal(java.lang.String propertyName, java.lang.String[] typeNames, java.lang.Object[] indices) throws EClrError
propertyName
- The string containing the name of the public property to get.typeNames
- An array of Type objects names representing the number, order, and type of the parameters for the indexed property to get.indices
- Index values for indexed properties.EClrError