Package system.data.odbc
Class OdbcConnectionStringBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.data.common.DbConnectionStringBuilder
-
- system.data.odbc.OdbcConnectionStringBuilder
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
,ICustomTypeDescriptor
public class OdbcConnectionStringBuilder extends DbConnectionStringBuilder
The base .NET class managing System.Data.Odbc.OdbcConnectionStringBuilder, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Odbc.OdbcConnectionStringBuilder
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.Odbc.OdbcConnectionStringBuilderstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description OdbcConnectionStringBuilder()
OdbcConnectionStringBuilder(java.lang.Object instance)
Internal constructor.OdbcConnectionStringBuilder(java.lang.String connectionString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OdbcConnectionStringBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoOdbcConnectionStringBuilder
, a cast assert is made to check if types are compatible.void
Clear()
boolean
ContainsKey(java.lang.String keyword)
java.lang.String
getDriver()
java.lang.String
getDsn()
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 Typeboolean
Remove(java.lang.String keyword)
void
setDriver(java.lang.String Driver)
void
setDsn(java.lang.String Dsn)
void
setJCOInstance(JCObject instance)
boolean
TryGetValue(java.lang.String keyword, JCORefOut<NetObject> value)
-
Methods inherited from class system.data.common.DbConnectionStringBuilder
Add, AppendKeyValuePair, AppendKeyValuePair, EquivalentTo, getBrowsableConnectionString, getConnectionString, getCount, getIsFixedSize, getIsReadOnly, getKeys, getValues, setBrowsableConnectionString, setConnectionString, ShouldSerialize
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ICustomTypeDescriptor
GetAttributes, GetClassName, GetComponentName, GetConverter, GetDefaultEvent, GetDefaultProperty, GetEditor, GetEvents, GetEvents, GetProperties, GetProperties, GetPropertyOwner
-
-
-
-
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.Odbc.OdbcConnectionStringBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OdbcConnectionStringBuilder
public OdbcConnectionStringBuilder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OdbcConnectionStringBuilder
public OdbcConnectionStringBuilder() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, NotSupportedException
-
OdbcConnectionStringBuilder
public OdbcConnectionStringBuilder(java.lang.String connectionString) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICustomTypeDescriptor
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbConnectionStringBuilder
- 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 interfaceICustomTypeDescriptor
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbConnectionStringBuilder
- 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 interfaceICustomTypeDescriptor
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbConnectionStringBuilder
- 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 interfaceICustomTypeDescriptor
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbConnectionStringBuilder
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbConnectionStringBuilder
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICustomTypeDescriptor
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbConnectionStringBuilder
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static OdbcConnectionStringBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOdbcConnectionStringBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OdbcConnectionStringBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ContainsKey
public boolean ContainsKey(java.lang.String keyword) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
ContainsKey
in classDbConnectionStringBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
-
Remove
public boolean Remove(java.lang.String keyword) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
Remove
in classDbConnectionStringBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
-
TryGetValue
public boolean TryGetValue(java.lang.String keyword, JCORefOut<NetObject> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
TryGetValue
in classDbConnectionStringBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
Clear
in classDbConnectionStringBuilder
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
-
getDriver
public java.lang.String getDriver() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDriver
public void setDriver(java.lang.String Driver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RegexMatchTimeoutException
-
getDsn
public java.lang.String getDsn() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDsn
public void setDsn(java.lang.String Dsn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RegexMatchTimeoutException
-
-