Package system.data.common
Class DbConnectionStringBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.data.common.DbConnectionStringBuilder
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected,ICustomTypeDescriptor
- Direct Known Subclasses:
EntityConnectionStringBuilder,OdbcConnectionStringBuilder,OleDbConnectionStringBuilder,OracleConnectionStringBuilder,SqlConnectionStringBuilder
public class DbConnectionStringBuilder extends NetObjectEnumerable implements ICustomTypeDescriptor
The base .NET class managing System.Data.Common.DbConnectionStringBuilder, 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.DbConnectionStringBuilder
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.Common.DbConnectionStringBuilderstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description DbConnectionStringBuilder()DbConnectionStringBuilder(boolean useOdbcRules)DbConnectionStringBuilder(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAdd(java.lang.String keyword, NetObject value)static voidAppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value)static voidAppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value, boolean useOdbcRules)static DbConnectionStringBuildercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDbConnectionStringBuilder, a cast assert is made to check if types are compatible.voidClear()booleanContainsKey(java.lang.String keyword)booleanEquivalentTo(DbConnectionStringBuilder connectionStringBuilder)booleangetBrowsableConnectionString()java.lang.StringgetConnectionString()intgetCount()booleangetIsFixedSize()booleangetIsReadOnly()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 TypeICollectiongetKeys()ICollectiongetValues()booleanRemove(java.lang.String keyword)voidsetBrowsableConnectionString(boolean BrowsableConnectionString)voidsetConnectionString(java.lang.String ConnectionString)voidsetJCOInstance(JCObject instance)booleanShouldSerialize(java.lang.String keyword)booleanTryGetValue(java.lang.String keyword, JCORefOut<NetObject> value)-
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.Common.DbConnectionStringBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DbConnectionStringBuilder
public DbConnectionStringBuilder(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DbConnectionStringBuilder
public DbConnectionStringBuilder() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DbConnectionStringBuilder
public DbConnectionStringBuilder(boolean useOdbcRules) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICustomTypeDescriptor- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObjectEnumerable- 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 interfaceICustomTypeDescriptor- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObjectEnumerable- 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 interfaceICustomTypeDescriptor- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObjectEnumerable- 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 interfaceICustomTypeDescriptor- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICustomTypeDescriptor- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DbConnectionStringBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDbConnectionStringBuilder, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DbConnectionStringBuilderinstance- 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
EquivalentTo
public boolean EquivalentTo(DbConnectionStringBuilder connectionStringBuilder) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationException
-
Remove
public boolean Remove(java.lang.String keyword) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
ShouldSerialize
public boolean ShouldSerialize(java.lang.String keyword) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
TryGetValue
public boolean TryGetValue(java.lang.String keyword, JCORefOut<NetObject> value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Add
public void Add(java.lang.String keyword, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, RegexMatchTimeoutException
-
AppendKeyValuePair
public static void AppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionRegexMatchTimeoutExceptionNotSupportedException
-
AppendKeyValuePair
public static void AppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value, boolean useOdbcRules) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionRegexMatchTimeoutExceptionNotSupportedException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getBrowsableConnectionString
public boolean getBrowsableConnectionString() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBrowsableConnectionString
public void setBrowsableConnectionString(boolean BrowsableConnectionString) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsFixedSize
public boolean getIsFixedSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getKeys
public ICollection getKeys() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getValues
public ICollection getValues() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getConnectionString
public java.lang.String getConnectionString() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, RegexMatchTimeoutException, IndexOutOfRangeException, NotSupportedException
-
setConnectionString
public void setConnectionString(java.lang.String ConnectionString) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RegexMatchTimeoutException, CultureNotFoundException, NotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRegexMatchTimeoutExceptionCultureNotFoundExceptionNotSupportedException
-
-