Package system.data
Class DataRow
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.DataRow
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DataRow extends NetObject
The base .NET class managing System.Data.DataRow, System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataRow
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.DataRowstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAcceptChanges()voidBeginEdit()voidCancelEdit()static DataRowcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataRow, a cast assert is made to check if types are compatible.voidClearErrors()voidDelete()voidEndEdit()DataRow[]GetChildRows(java.lang.String relationName)DataRow[]GetChildRows(java.lang.String relationName, DataRowVersion version)DataRow[]GetChildRows(DataRelation relation)DataRow[]GetChildRows(DataRelation relation, DataRowVersion version)java.lang.StringGetColumnError(int columnIndex)java.lang.StringGetColumnError(java.lang.String columnName)java.lang.StringGetColumnError(DataColumn column)DataColumn[]GetColumnsInError()booleangetHasErrors()NetObject[]getItemArray()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeDataRowGetParentRow(java.lang.String relationName)DataRowGetParentRow(java.lang.String relationName, DataRowVersion version)DataRowGetParentRow(DataRelation relation)DataRowGetParentRow(DataRelation relation, DataRowVersion version)DataRow[]GetParentRows(java.lang.String relationName)DataRow[]GetParentRows(java.lang.String relationName, DataRowVersion version)DataRow[]GetParentRows(DataRelation relation)DataRow[]GetParentRows(DataRelation relation, DataRowVersion version)java.lang.StringgetRowError()DataRowStategetRowState()DataTablegetTable()booleanHasVersion(DataRowVersion version)booleanIsNull(int columnIndex)booleanIsNull(java.lang.String columnName)booleanIsNull(DataColumn column)booleanIsNull(DataColumn column, DataRowVersion version)voidRejectChanges()voidSetAdded()voidSetColumnError(int columnIndex, java.lang.String error)voidSetColumnError(java.lang.String columnName, java.lang.String error)voidSetColumnError(DataColumn column, java.lang.String error)voidsetItemArray(NetObject[] ItemArray)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)voidSetModified()voidSetParentRow(DataRow parentRow)voidSetParentRow(DataRow parentRow, DataRelation relation)voidsetRowError(java.lang.String RowError)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.DataRow- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataRow cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataRow, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataRowinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
HasVersion
public boolean HasVersion(DataRowVersion version) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
IsNull
public boolean IsNull(int columnIndex) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
IsNull
public boolean IsNull(DataColumn column, DataRowVersion version) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
IsNull
public boolean IsNull(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
IsNull
public boolean IsNull(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
GetColumnsInError
public DataColumn[] GetColumnsInError() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetParentRow
public DataRow GetParentRow(DataRelation relation, DataRowVersion version) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, ArgumentNullException
-
GetParentRow
public DataRow GetParentRow(DataRelation relation) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, LockRecursionException, SynchronizationLockException
-
GetParentRow
public DataRow GetParentRow(java.lang.String relationName, DataRowVersion version) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetParentRow
public DataRow GetParentRow(java.lang.String relationName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetChildRows
public DataRow[] GetChildRows(DataRelation relation, DataRowVersion version) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, ObjectDisposedException, LockRecursionException, SynchronizationLockException
-
GetChildRows
public DataRow[] GetChildRows(DataRelation relation) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, LockRecursionException, SynchronizationLockException
-
GetChildRows
public DataRow[] GetChildRows(java.lang.String relationName, DataRowVersion version) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetChildRows
public DataRow[] GetChildRows(java.lang.String relationName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetParentRows
public DataRow[] GetParentRows(DataRelation relation, DataRowVersion version) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, ObjectDisposedException, LockRecursionException, SynchronizationLockException
-
GetParentRows
public DataRow[] GetParentRows(DataRelation relation) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, LockRecursionException, SynchronizationLockException
-
GetParentRows
public DataRow[] GetParentRows(java.lang.String relationName, DataRowVersion version) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetParentRows
public DataRow[] GetParentRows(java.lang.String relationName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException
-
GetColumnError
public java.lang.String GetColumnError(int columnIndex) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
GetColumnError
public java.lang.String GetColumnError(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
GetColumnError
public java.lang.String GetColumnError(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
AcceptChanges
public void AcceptChanges() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, LockRecursionException, SynchronizationLockException
-
BeginEdit
public void BeginEdit() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
-
CancelEdit
public void CancelEdit() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, FormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
ClearErrors
public void ClearErrors() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, LockRecursionException, ArgumentNullException, InvalidOperationException, RankException, ArgumentException, ArrayTypeMismatchException, SynchronizationLockException
-
Delete
public void Delete() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionLockRecursionExceptionSynchronizationLockException
-
EndEdit
public void EndEdit() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
RejectChanges
public void RejectChanges() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, LockRecursionException, SynchronizationLockException
-
SetAdded
public void SetAdded() throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, RankException, ArrayTypeMismatchException, SynchronizationLockException
-
SetColumnError
public void SetColumnError(int columnIndex, java.lang.String error) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionSynchronizationLockException
-
SetColumnError
public void SetColumnError(DataColumn column, java.lang.String error) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, InvalidCastException, LockRecursionException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionInvalidCastExceptionLockRecursionExceptionSynchronizationLockException
-
SetColumnError
public void SetColumnError(java.lang.String columnName, java.lang.String error) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, RankException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockException
-
SetModified
public void SetModified() throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, RankException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
-
SetParentRow
public void SetParentRow(DataRow parentRow, DataRelation relation) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, SynchronizationLockException
- Throws:
java.lang.ThrowableInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionSynchronizationLockException
-
SetParentRow
public void SetParentRow(DataRow parentRow) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, SynchronizationLockException
-
getHasErrors
public boolean getHasErrors() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRowState
public DataRowState getRowState() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
getTable
public DataTable getTable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getItemArray
public final NetObject[] getItemArray() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
setItemArray
public void setItemArray(NetObject[] ItemArray) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, LockRecursionException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionLockRecursionExceptionSynchronizationLockException
-
getRowError
public java.lang.String getRowError() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRowError
public void setRowError(java.lang.String RowError) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, OutOfMemoryException, EventSourceException, KeyNotFoundException, LockRecursionException, RankException, ArrayTypeMismatchException, SynchronizationLockException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionKeyNotFoundExceptionLockRecursionExceptionRankExceptionArrayTypeMismatchExceptionSynchronizationLockException
-
-