Package system.data.common
Class DataAdapter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DataAdapter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
- Direct Known Subclasses:
DbDataAdapter
public class DataAdapter extends Component
The base .NET class managing System.Data.Common.DataAdapter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DataAdapter
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.Common.DataAdapterstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataAdapter()
DataAdapter(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFillError(FillErrorEventHandler handler)
static DataAdapter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataAdapter
, a cast assert is made to check if types are compatible.int
Fill(DataSet dataSet)
DataTable[]
FillSchema(DataSet dataSet, SchemaType schemaType)
boolean
getAcceptChangesDuringFill()
boolean
getAcceptChangesDuringUpdate()
boolean
getContinueUpdateOnError()
LoadOption
getFillLoadOption()
IDataParameter[]
GetFillParameters()
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeMissingMappingAction
getMissingMappingAction()
MissingSchemaAction
getMissingSchemaAction()
boolean
getReturnProviderSpecificTypes()
DataTableMappingCollection
getTableMappings()
void
removeFillError(FillErrorEventHandler handler)
void
ResetFillLoadOption()
void
setAcceptChangesDuringFill(boolean AcceptChangesDuringFill)
void
setAcceptChangesDuringUpdate(boolean AcceptChangesDuringUpdate)
void
setContinueUpdateOnError(boolean ContinueUpdateOnError)
void
setFillLoadOption(LoadOption FillLoadOption)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setMissingMappingAction(MissingMappingAction MissingMappingAction)
void
setMissingSchemaAction(MissingSchemaAction MissingSchemaAction)
void
setReturnProviderSpecificTypes(boolean ReturnProviderSpecificTypes)
boolean
ShouldSerializeAcceptChangesDuringFill()
boolean
ShouldSerializeFillLoadOption()
int
Update(DataSet dataSet)
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
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.Common.DataAdapter- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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 classComponent
- 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 classComponent
- 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 classComponent
- 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 classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataAdapter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataAdapter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ShouldSerializeAcceptChangesDuringFill
public boolean ShouldSerializeAcceptChangesDuringFill() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ShouldSerializeFillLoadOption
public boolean ShouldSerializeFillLoadOption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Fill
public int Fill(DataSet dataSet) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
Update
public int Update(DataSet dataSet) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
FillSchema
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
GetFillParameters
public IDataParameter[] GetFillParameters() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ResetFillLoadOption
public void ResetFillLoadOption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAcceptChangesDuringFill
public boolean getAcceptChangesDuringFill() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAcceptChangesDuringFill
public void setAcceptChangesDuringFill(boolean AcceptChangesDuringFill) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAcceptChangesDuringUpdate
public boolean getAcceptChangesDuringUpdate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAcceptChangesDuringUpdate
public void setAcceptChangesDuringUpdate(boolean AcceptChangesDuringUpdate) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContinueUpdateOnError
public boolean getContinueUpdateOnError() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContinueUpdateOnError
public void setContinueUpdateOnError(boolean ContinueUpdateOnError) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReturnProviderSpecificTypes
public boolean getReturnProviderSpecificTypes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReturnProviderSpecificTypes
public void setReturnProviderSpecificTypes(boolean ReturnProviderSpecificTypes) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTableMappings
public DataTableMappingCollection getTableMappings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFillLoadOption
public LoadOption getFillLoadOption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFillLoadOption
public void setFillLoadOption(LoadOption FillLoadOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
getMissingMappingAction
public MissingMappingAction getMissingMappingAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMissingMappingAction
public void setMissingMappingAction(MissingMappingAction MissingMappingAction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
getMissingSchemaAction
public MissingSchemaAction getMissingSchemaAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMissingSchemaAction
public void setMissingSchemaAction(MissingSchemaAction MissingSchemaAction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
addFillError
public void addFillError(FillErrorEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFillError
public void removeFillError(FillErrorEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-