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.String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Datastatic 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, 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: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, 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.Throwable
ArgumentOutOfRangeException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationErrorsException
DataException
OverflowException
InvalidCastException
KeyNotFoundException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationErrorsException
DataException
OverflowException
InvalidCastException
KeyNotFoundException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationErrorsException
DataException
OverflowException
InvalidCastException
KeyNotFoundException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationErrorsException
DataException
OverflowException
InvalidCastException
KeyNotFoundException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
KeyNotFoundException
FormatException
DataException
OverflowException
SqlNullValueException
InvalidCastException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
KeyNotFoundException
DataException
OverflowException
InvalidCastException
RankException
-
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.Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
RankException
KeyNotFoundException
FormatException
DataException
OverflowException
SqlNullValueException
InvalidCastException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
-
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
-
-