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.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.DataViewstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInitialized(EventHandler handler)
void
addListChanged(ListChangedEventHandler handler)
DataRowView
AddNew()
void
BeginInit()
static DataView
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataView
, a cast assert is made to check if types are compatible.void
CopyTo(Array array, int index)
void
Delete(int index)
void
EndInit()
boolean
Equals(DataView view)
int
Find(NetObject key)
int
Find(NetObject[] key)
DataRowView[]
FindRows(NetObject key)
DataRowView[]
FindRows(NetObject[] key)
boolean
getAllowDelete()
boolean
getAllowEdit()
boolean
getAllowNew()
boolean
getApplyDefaultSort()
int
getCount()
DataViewManager
getDataViewManager()
boolean
getIsInitialized()
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 Typejava.lang.String
getRowFilter()
DataViewRowState
getRowStateFilter()
java.lang.String
getSort()
DataTable
getTable()
void
removeInitialized(EventHandler handler)
void
removeListChanged(ListChangedEventHandler handler)
void
setAllowDelete(boolean AllowDelete)
void
setAllowEdit(boolean AllowEdit)
void
setAllowNew(boolean AllowNew)
void
setApplyDefaultSort(boolean ApplyDefaultSort)
void
setJCOInstance(JCObject instance)
void
setRowFilter(java.lang.String RowFilter)
void
setRowStateFilter(DataViewRowState RowStateFilter)
void
setSort(java.lang.String Sort)
void
setTable(DataTable Table)
DataTable
ToTable()
DataTable
ToTable(boolean distinct, java.lang.String... columnNames)
DataTable
ToTable(boolean dupParam0, JCORefOut dupParam1)
DataTable
ToTable(java.lang.String tableName)
DataTable
ToTable(java.lang.String tableName, boolean distinct, java.lang.String... columnNames)
DataTable
ToTable(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.Throwable
Internal 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.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
MulticastNotSupportedException
IndexOutOfRangeException
NullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceITypedList
- Overrides:
getJCOAssemblyName
in classMarshalByValueComponent
- 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
- Specified by:
getJCOClassName
in interfaceITypedList
- Overrides:
getJCOClassName
in classMarshalByValueComponent
- 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
- Specified by:
getJCOObjectName
in interfaceITypedList
- Overrides:
getJCOObjectName
in classMarshalByValueComponent
- 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
- Specified by:
getJCOInstance
in interfaceITypedList
- Overrides:
getJCOInstance
in classMarshalByValueComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByValueComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceITypedList
- Overrides:
getJCOType
in classMarshalByValueComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataView cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataView
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataView
instance- 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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
SecurityException
FormatException
OverflowException
DataException
SqlNullValueException
InvalidCastException
NullReferenceException
ConfigurationErrorsException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
SecurityException
FormatException
OverflowException
DataException
SqlNullValueException
InvalidCastException
NullReferenceException
ConfigurationErrorsException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
SecurityException
FormatException
OverflowException
DataException
SqlNullValueException
InvalidCastException
NullReferenceException
ConfigurationErrorsException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
SecurityException
FormatException
OverflowException
DataException
SqlNullValueException
InvalidCastException
NullReferenceException
ConfigurationErrorsException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
OverflowException
DataException
SqlNullValueException
SqlTruncateException
InvalidCastException
MemberAccessException
ConfigurationErrorsException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
KeyNotFoundException
OutOfMemoryException
OverflowException
DataException
SqlNullValueException
SqlTruncateException
InvalidCastException
MemberAccessException
ConfigurationErrorsException
RankException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
MulticastNotSupportedException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
MulticastNotSupportedException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
KeyNotFoundException
-
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.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
-
getSort
public java.lang.String getSort() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
-
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.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
KeyNotFoundException
-
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
-
-