Package system.data.common
Class DbDataRecord
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.common.DbDataRecord
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ICustomTypeDescriptor
public class DbDataRecord extends NetObject implements ICustomTypeDescriptor
The base .NET class managing System.Data.Common.DbDataRecord, System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DbDataRecord
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Data.Commonstatic String
className
Qualified class name: System.Data.Common.DbDataRecordstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DbDataRecord()
DbDataRecord(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DbDataRecord
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDbDataRecord
, a cast assert is made to check if types are compatible.AttributeCollection
GetAttributes()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.boolean
GetBoolean(int i)
byte
GetByte(int i)
long
GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
long
GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)
char
GetChar(int i)
long
GetChars(int i, long dataIndex, char[] buffer, int bufferIndex, int length)
long
GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)
String
GetClassName()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.String
GetComponentName()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.TypeConverter
GetConverter()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.IDataReader
GetData(int i)
String
GetDataTypeName(int i)
DateTime
GetDateTime(int i)
Decimal
GetDecimal(int i)
EventDescriptor
GetDefaultEvent()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.PropertyDescriptor
GetDefaultProperty()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.double
GetDouble(int i)
NetObject
GetEditor(NetType editorBaseType)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.EventDescriptorCollection
GetEvents()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.EventDescriptorCollection
GetEvents(Attribute[] attributes)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.int
getFieldCount()
NetType
GetFieldType(int i)
Single
GetFloat(int i)
Guid
GetGuid(int i)
short
GetInt16(int i)
int
GetInt32(int i)
long
GetInt64(int i)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
GetName(int i)
int
GetOrdinal(String name)
PropertyDescriptorCollection
GetProperties()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.PropertyDescriptorCollection
GetProperties(Attribute[] attributes)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.NetObject
GetPropertyOwner(PropertyDescriptor pd)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.String
GetString(int i)
NetObject
GetValue(int i)
int
GetValues(NetObject[] values)
boolean
IsDBNull(int i)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.Common.DbDataRecord- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICustomTypeDescriptor
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceICustomTypeDescriptor
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceICustomTypeDescriptor
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceICustomTypeDescriptor
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICustomTypeDescriptor
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DbDataRecord cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoDbDataRecord
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DbDataRecord
instance- Throws:
Throwable
- in case of error during cast operation
-
GetBytes
public long GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length) throws Throwable
- Throws:
Throwable
-
GetBytes
public long GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws Throwable
- Throws:
Throwable
-
GetChars
public long GetChars(int i, long dataIndex, char[] buffer, int bufferIndex, int length) throws Throwable
- Throws:
Throwable
-
GetChars
public long GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws Throwable
- Throws:
Throwable
-
GetData
public IDataReader GetData(int i) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
GetAttributes
@Deprecated public AttributeCollection GetAttributes() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetAttributes
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetDefaultEvent
@Deprecated public EventDescriptor GetDefaultEvent() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetDefaultEvent
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetEvents
@Deprecated public EventDescriptorCollection GetEvents() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetEvents
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetEvents
@Deprecated public EventDescriptorCollection GetEvents(Attribute[] attributes) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetEvents
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetDefaultProperty
@Deprecated public PropertyDescriptor GetDefaultProperty() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetDefaultProperty
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetProperties
@Deprecated public PropertyDescriptorCollection GetProperties() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetProperties
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetProperties
@Deprecated public PropertyDescriptorCollection GetProperties(Attribute[] attributes) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetProperties
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetConverter
@Deprecated public TypeConverter GetConverter() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetConverter
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetEditor
@Deprecated public NetObject GetEditor(NetType editorBaseType) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetEditor
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetPropertyOwner
@Deprecated public NetObject GetPropertyOwner(PropertyDescriptor pd) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetPropertyOwner
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetClassName
@Deprecated public String GetClassName() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetClassName
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
GetComponentName
@Deprecated public String GetComponentName() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToICustomTypeDescriptor method available in ICustomTypeDescriptor to obtain an object with an invocable method- Specified by:
GetComponentName
in interfaceICustomTypeDescriptor
- Throws:
Throwable
-
-