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=9.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.String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic java.lang.String
className
Qualified class name: System.Data.DataColumnCollectionstatic JCType
classType
The 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 DataColumn
Add()
DataColumn
Add(java.lang.String columnName)
DataColumn
Add(java.lang.String columnName, NetType type)
DataColumn
Add(java.lang.String columnName, NetType type, java.lang.String expression)
void
Add(DataColumn column)
void
addCollectionChanged(CollectionChangeEventHandler handler)
void
AddRange(DataColumn[] columns)
boolean
CanRemove(DataColumn column)
static DataColumnCollection
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataColumnCollection
, a cast assert is made to check if types are compatible.void
Clear()
boolean
Contains(java.lang.String name)
void
CopyTo(DataColumn[] array, int index)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
IndexOf(java.lang.String columnName)
int
IndexOf(DataColumn column)
void
Remove(java.lang.String name)
void
Remove(DataColumn column)
void
RemoveAt(int index)
void
removeCollectionChanged(CollectionChangeEventHandler handler)
void
setJCOInstance(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=9.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
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classInternalDataCollectionBase
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classInternalDataCollectionBase
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classInternalDataCollectionBase
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classInternalDataCollectionBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classInternalDataCollectionBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classInternalDataCollectionBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataColumnCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataColumnCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataColumnCollection
instance- 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, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, LockRecursionException, RankException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
FormatException
ObjectDisposedException
LockRecursionException
RankException
ArrayTypeMismatchException
InvalidCastException
SynchronizationLockException
-
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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, 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.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
RankException
ArrayTypeMismatchException
OverflowException
InvalidCastException
SynchronizationLockException
KeyNotFoundException
-
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.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
RankException
ArrayTypeMismatchException
OverflowException
InvalidCastException
SynchronizationLockException
KeyNotFoundException
-
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.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
RankException
ArrayTypeMismatchException
OverflowException
InvalidCastException
SynchronizationLockException
KeyNotFoundException
-
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.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
RankException
ArrayTypeMismatchException
OverflowException
InvalidCastException
SynchronizationLockException
KeyNotFoundException
-
Add
public void Add(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, OutOfMemoryException, InvalidOperationException, KeyNotFoundException, ArrayTypeMismatchException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException, RankException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
FormatException
OutOfMemoryException
InvalidOperationException
KeyNotFoundException
ArrayTypeMismatchException
OverflowException
SqlNullValueException
InvalidCastException
SynchronizationLockException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
OutOfMemoryException
NotSupportedException
KeyNotFoundException
ArgumentOutOfRangeException
OverflowException
FormatException
InvalidCastException
RankException
ArrayTypeMismatchException
SynchronizationLockException
-
Clear
public void Clear() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, CultureNotFoundException, KeyNotFoundException, OverflowException, SqlNullValueException, FormatException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotSupportedException
ArrayTypeMismatchException
InvalidCastException
InvalidOperationException
LockRecursionException
SynchronizationLockException
OutOfMemoryException
CultureNotFoundException
KeyNotFoundException
OverflowException
SqlNullValueException
FormatException
-
CopyTo
public void CopyTo(DataColumn[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, 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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
LockRecursionException
RankException
ArrayTypeMismatchException
SynchronizationLockException
OutOfMemoryException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
IndexOutOfRangeException
NotSupportedException
LockRecursionException
RankException
ArrayTypeMismatchException
SynchronizationLockException
OutOfMemoryException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
LockRecursionException
SynchronizationLockException
OutOfMemoryException
-
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
-
-