Package system.data
Class DataColumnCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.data.InternalDataCollectionBase
-
- system.data.DataColumnCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class DataColumnCollection extends InternalDataCollectionBase
The base .NET class managing System.Data.DataColumnCollection, 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.DataColumnCollection
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.DataColumnCollectionstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description DataColumnCollection()DataColumnCollection(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataColumnAdd()DataColumnAdd(java.lang.String columnName)DataColumnAdd(java.lang.String columnName, NetType type)DataColumnAdd(java.lang.String columnName, NetType type, java.lang.String expression)voidAdd(DataColumn column)voidaddCollectionChanged(CollectionChangeEventHandler handler)voidAddRange(DataColumn[] columns)booleanCanRemove(DataColumn column)static DataColumnCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataColumnCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(java.lang.String name)voidCopyTo(DataColumn[] array, int index)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 TypeintIndexOf(java.lang.String columnName)intIndexOf(DataColumn column)voidRemove(java.lang.String name)voidRemove(DataColumn column)voidRemoveAt(int index)voidremoveCollectionChanged(CollectionChangeEventHandler handler)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)-
Methods inherited from class system.data.InternalDataCollectionBase
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRoot
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
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.DataColumnCollection- 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 classInternalDataCollectionBase- 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 classInternalDataCollectionBase- 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 classInternalDataCollectionBase- 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 classInternalDataCollectionBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classInternalDataCollectionBase
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classInternalDataCollectionBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataColumnCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataColumnCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataColumnCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanRemove
public boolean CanRemove(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, ObjectDisposedException, LockRecursionException, NotSupportedException, RankException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionLockRecursionExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockException
-
Contains
public boolean Contains(java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException
-
IndexOf
public int IndexOf(DataColumn column) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
-
IndexOf
public int IndexOf(java.lang.String columnName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException
-
Add
public DataColumn Add() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, RankException, ArrayTypeMismatchException, OverflowException, InvalidCastException, SynchronizationLockException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidCastExceptionSynchronizationLockExceptionKeyNotFoundException
-
Add
public DataColumn Add(java.lang.String columnName, NetType type, java.lang.String expression) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, RankException, ArrayTypeMismatchException, OverflowException, InvalidCastException, SynchronizationLockException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidCastExceptionSynchronizationLockExceptionKeyNotFoundException
-
Add
public DataColumn Add(java.lang.String columnName, NetType type) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, RankException, ArrayTypeMismatchException, OverflowException, InvalidCastException, SynchronizationLockException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidCastExceptionSynchronizationLockExceptionKeyNotFoundException
-
Add
public DataColumn Add(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, RankException, ArrayTypeMismatchException, OverflowException, InvalidCastException, SynchronizationLockException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidCastExceptionSynchronizationLockExceptionKeyNotFoundException
-
Add
public void Add(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, FormatException, OutOfMemoryException, InvalidOperationException, KeyNotFoundException, ArrayTypeMismatchException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionFormatExceptionOutOfMemoryExceptionInvalidOperationExceptionKeyNotFoundExceptionArrayTypeMismatchExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockExceptionRankException
-
AddRange
public void AddRange(DataColumn[] columns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, KeyNotFoundException, ArgumentOutOfRangeException, OverflowException, FormatException, InvalidCastException, RankException, ArrayTypeMismatchException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionInvalidCastExceptionRankExceptionArrayTypeMismatchExceptionSynchronizationLockException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, RankException, KeyNotFoundException, OverflowException, SqlNullValueException, FormatException, InvalidCastException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionRankExceptionKeyNotFoundExceptionOverflowExceptionSqlNullValueExceptionFormatExceptionInvalidCastException
-
CopyTo
public void CopyTo(DataColumn[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
Remove
public void Remove(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, LockRecursionException, RankException, ArrayTypeMismatchException, SynchronizationLockException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionLockRecursionExceptionRankExceptionArrayTypeMismatchExceptionSynchronizationLockExceptionOutOfMemoryException
-
Remove
public void Remove(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, LockRecursionException, RankException, ArrayTypeMismatchException, SynchronizationLockException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNotSupportedExceptionLockRecursionExceptionRankExceptionArrayTypeMismatchExceptionSynchronizationLockExceptionOutOfMemoryException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryException
-
addCollectionChanged
public void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCollectionChanged
public void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-