Package system.data
Class DataView
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.MarshalByValueComponent
-
- system.data.DataView
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,ITypedList
public class DataView extends MarshalByValueComponent implements ITypedList
The base .NET class managing System.Data.DataView, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataView
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.DataViewstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInitialized(EventHandler handler)voidaddListChanged(ListChangedEventHandler handler)DataRowViewAddNew()voidBeginInit()static DataViewcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataView, a cast assert is made to check if types are compatible.voidCopyTo(Array array, int index)voidDelete(int index)voidEndInit()booleanEquals(DataView view)intFind(NetObject key)intFind(NetObject[] key)DataRowView[]FindRows(NetObject key)DataRowView[]FindRows(NetObject[] key)booleangetAllowDelete()booleangetAllowEdit()booleangetAllowNew()booleangetApplyDefaultSort()intgetCount()DataViewManagergetDataViewManager()booleangetIsInitialized()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 Typejava.lang.StringgetRowFilter()DataViewRowStategetRowStateFilter()java.lang.StringgetSort()DataTablegetTable()voidremoveInitialized(EventHandler handler)voidremoveListChanged(ListChangedEventHandler handler)voidsetAllowDelete(boolean AllowDelete)voidsetAllowEdit(boolean AllowEdit)voidsetAllowNew(boolean AllowNew)voidsetApplyDefaultSort(boolean ApplyDefaultSort)voidsetJCOInstance(JCObject instance)voidsetRowFilter(java.lang.String RowFilter)voidsetRowStateFilter(DataViewRowState RowStateFilter)voidsetSort(java.lang.String Sort)voidsetTable(DataTable Table)DataTableToTable()DataTableToTable(boolean distinct, java.lang.String... columnNames)DataTableToTable(boolean dupParam0, JCORefOut dupParam1)DataTableToTable(java.lang.String tableName)DataTableToTable(java.lang.String tableName, boolean distinct, java.lang.String... columnNames)DataTableToTable(java.lang.String dupParam0, boolean dupParam1, JCORefOut dupParam2)-
Methods inherited from class system.componentmodel.MarshalByValueComponent
addDisposed, close, Dispose, getContainer, getDesignMode, GetService, getSite, removeDisposed, setSite
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ITypedList
GetItemProperties, GetListName
-
-
-
-
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.DataView- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataView
public DataView(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataView
public DataView() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MulticastNotSupportedException, CultureNotFoundException, InvalidOperationException
-
DataView
public DataView(DataTable table) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MulticastNotSupportedException, OutOfMemoryException, CultureNotFoundException, InvalidOperationException
-
DataView
public DataView(DataTable table, java.lang.String RowFilter, java.lang.String Sort, DataViewRowState RowState) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, MulticastNotSupportedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNotSupportedExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionNullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceITypedList- Overrides:
getJCOAssemblyNamein classMarshalByValueComponent- 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- Specified by:
getJCOClassNamein interfaceITypedList- Overrides:
getJCOClassNamein classMarshalByValueComponent- 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- Specified by:
getJCOObjectNamein interfaceITypedList- Overrides:
getJCOObjectNamein classMarshalByValueComponent- 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- Specified by:
getJCOInstancein interfaceITypedList- Overrides:
getJCOInstancein classMarshalByValueComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classMarshalByValueComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceITypedList- Overrides:
getJCOTypein classMarshalByValueComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataView cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataView, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataViewinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(DataView view) throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException
-
Find
public int Find(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
Find
public int Find(NetObject[] key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
AddNew
public DataRowView AddNew() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException
-
FindRows
public DataRowView[] FindRows(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException
-
FindRows
public DataRowView[] FindRows(NetObject[] key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException
-
ToTable
public DataTable ToTable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, SecurityException, FormatException, OverflowException, DataException, SqlNullValueException, InvalidCastException, NullReferenceException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionSecurityExceptionFormatExceptionOverflowExceptionDataExceptionSqlNullValueExceptionInvalidCastExceptionNullReferenceExceptionConfigurationErrorsException
-
ToTable
public DataTable ToTable(boolean distinct, java.lang.String... columnNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, SecurityException, FormatException, OverflowException, DataException, SqlNullValueException, InvalidCastException, NullReferenceException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionSecurityExceptionFormatExceptionOverflowExceptionDataExceptionSqlNullValueExceptionInvalidCastExceptionNullReferenceExceptionConfigurationErrorsException
-
ToTable
public DataTable ToTable(boolean dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, SecurityException, FormatException, OverflowException, DataException, SqlNullValueException, InvalidCastException, NullReferenceException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionSecurityExceptionFormatExceptionOverflowExceptionDataExceptionSqlNullValueExceptionInvalidCastExceptionNullReferenceExceptionConfigurationErrorsException
-
ToTable
public DataTable ToTable(java.lang.String tableName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, SecurityException, FormatException, OverflowException, DataException, SqlNullValueException, InvalidCastException, NullReferenceException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionSecurityExceptionFormatExceptionOverflowExceptionDataExceptionSqlNullValueExceptionInvalidCastExceptionNullReferenceExceptionConfigurationErrorsException
-
ToTable
public DataTable ToTable(java.lang.String tableName, boolean distinct, java.lang.String... columnNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, OverflowException, DataException, SqlNullValueException, SqlTruncateException, InvalidCastException, MemberAccessException, ConfigurationErrorsException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionOverflowExceptionDataExceptionSqlNullValueExceptionSqlTruncateExceptionInvalidCastExceptionMemberAccessExceptionConfigurationErrorsExceptionRankException
-
ToTable
public DataTable ToTable(java.lang.String dupParam0, boolean dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException, KeyNotFoundException, OutOfMemoryException, OverflowException, DataException, SqlNullValueException, SqlTruncateException, InvalidCastException, MemberAccessException, ConfigurationErrorsException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionKeyNotFoundExceptionOutOfMemoryExceptionOverflowExceptionDataExceptionSqlNullValueExceptionSqlTruncateExceptionInvalidCastExceptionMemberAccessExceptionConfigurationErrorsExceptionRankException
-
BeginInit
public void BeginInit() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException
-
Delete
public void Delete(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, KeyNotFoundException
-
EndInit
public void EndInit() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMulticastNotSupportedException
-
getAllowDelete
public boolean getAllowDelete() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAllowDelete
public void setAllowDelete(boolean AllowDelete) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException
-
getAllowEdit
public boolean getAllowEdit() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAllowEdit
public void setAllowEdit(boolean AllowEdit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException
-
getAllowNew
public boolean getAllowNew() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAllowNew
public void setAllowNew(boolean AllowNew) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException
-
getApplyDefaultSort
public boolean getApplyDefaultSort() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setApplyDefaultSort
public void setApplyDefaultSort(boolean ApplyDefaultSort) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ArgumentException, CultureNotFoundException, KeyNotFoundException
-
getIsInitialized
public boolean getIsInitialized() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTable
public DataTable getTable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTable
public void setTable(DataTable Table) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNotSupportedExceptionMulticastNotSupportedException
-
getDataViewManager
public DataViewManager getDataViewManager() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRowStateFilter
public DataViewRowState getRowStateFilter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRowStateFilter
public void setRowStateFilter(DataViewRowState RowStateFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNotSupportedExceptionKeyNotFoundException
-
getRowFilter
public java.lang.String getRowFilter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRowFilter
public void setRowFilter(java.lang.String RowFilter) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionKeyNotFoundException
-
getSort
public java.lang.String getSort() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeException
-
setSort
public void setSort(java.lang.String Sort) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionKeyNotFoundException
-
addListChanged
public void addListChanged(ListChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeListChanged
public void removeListChanged(ListChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInitialized
public void addInitialized(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInitialized
public void removeInitialized(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-