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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.DataColumnCollectionstatic 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 objectJCTypegetJCOType()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(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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- 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: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(JCObject instance)
- Overrides:
setJCOInstancein classInternalDataCollectionBase
-
getJCOType
public 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, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
Contains
public boolean Contains(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException
-
IndexOf
public int IndexOf(DataColumn column) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
IndexOf
public int IndexOf(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException
-
Add
public DataColumn Add() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationErrorsException, DataException, OverflowException, InvalidCastException, KeyNotFoundException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionMemberAccessExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionRankException
-
Add
public DataColumn Add(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationErrorsException, DataException, OverflowException, InvalidCastException, KeyNotFoundException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionMemberAccessExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionRankException
-
Add
public DataColumn Add(java.lang.String columnName, NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationErrorsException, DataException, OverflowException, InvalidCastException, KeyNotFoundException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionMemberAccessExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionRankException
-
Add
public DataColumn Add(java.lang.String columnName, NetType type, java.lang.String expression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationErrorsException, DataException, OverflowException, InvalidCastException, KeyNotFoundException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionMemberAccessExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionRankException
-
Add
public void Add(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException, FormatException, DataException, OverflowException, SqlNullValueException, InvalidCastException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionKeyNotFoundExceptionFormatExceptionDataExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionRankException
-
AddRange
public void AddRange(DataColumn[] columns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, KeyNotFoundException, DataException, OverflowException, InvalidCastException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionKeyNotFoundExceptionDataExceptionOverflowExceptionInvalidCastExceptionRankException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, RankException, KeyNotFoundException, FormatException, DataException, OverflowException, SqlNullValueException, InvalidCastException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionRankExceptionKeyNotFoundExceptionFormatExceptionDataExceptionOverflowExceptionSqlNullValueExceptionInvalidCastException
-
CopyTo
public void CopyTo(DataColumn[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedException
-
Remove
public void Remove(DataColumn column) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, RankException
-
Remove
public void Remove(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, RankException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, RankException
-
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
-
-