Package system.data
Class DataColumn
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.MarshalByValueComponent
-
- system.data.DataColumn
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class DataColumn extends MarshalByValueComponent
The base .NET class managing System.Data.DataColumn, System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataColumn
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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.DataColumnstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataColumn()DataColumn(java.lang.Object instance)Internal constructor.DataColumn(java.lang.String columnName)DataColumn(java.lang.String columnName, NetType dataType)DataColumn(java.lang.String columnName, NetType dataType, java.lang.String expr)DataColumn(java.lang.String columnName, NetType dataType, java.lang.String expr, MappingType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataColumncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataColumn, a cast assert is made to check if types are compatible.booleangetAllowDBNull()booleangetAutoIncrement()longgetAutoIncrementSeed()longgetAutoIncrementStep()java.lang.StringgetCaption()MappingTypegetColumnMapping()java.lang.StringgetColumnName()NetTypegetDataType()DataSetDateTimegetDateTimeMode()NetObjectgetDefaultValue()java.lang.StringgetExpression()PropertyCollectiongetExtendedProperties()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 TypeintgetMaxLength()java.lang.StringgetNamespace()intgetOrdinal()java.lang.StringgetPrefix()booleangetReadOnly()DataTablegetTable()booleangetUnique()voidsetAllowDBNull(boolean AllowDBNull)voidsetAutoIncrement(boolean AutoIncrement)voidsetAutoIncrementSeed(long AutoIncrementSeed)voidsetAutoIncrementStep(long AutoIncrementStep)voidsetCaption(java.lang.String Caption)voidsetColumnMapping(MappingType ColumnMapping)voidsetColumnName(java.lang.String ColumnName)voidsetDataType(NetType DataType)voidsetDateTimeMode(DataSetDateTime DateTimeMode)voidsetDefaultValue(NetObject DefaultValue)voidsetExpression(java.lang.String Expression)voidsetJCOInstance(JCObject instance)voidsetMaxLength(int MaxLength)voidsetNamespace(java.lang.String Namespace)voidSetOrdinal(int ordinal)voidsetPrefix(java.lang.String Prefix)voidsetReadOnly(boolean ReadOnly)voidsetUnique(boolean Unique)-
Methods inherited from class system.componentmodel.MarshalByValueComponent
addDisposed, close, Dispose, getContainer, getDesignMode, GetService, getSite, removeDisposed, setSite
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.DataColumn- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataColumn
public DataColumn(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataColumn
public DataColumn() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockException
-
DataColumn
public DataColumn(java.lang.String columnName, NetType dataType, java.lang.String expr, MappingType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, OverflowException, SqlNullValueException, SqlTruncateException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionSqlTruncateExceptionInvalidCastExceptionSynchronizationLockException
-
DataColumn
public DataColumn(java.lang.String columnName, NetType dataType, java.lang.String expr) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockException
-
DataColumn
public DataColumn(java.lang.String columnName, NetType dataType) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockException
-
DataColumn
public DataColumn(java.lang.String columnName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, OverflowException, SqlNullValueException, InvalidCastException, SynchronizationLockException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- 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- 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- 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- 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- Overrides:
getJCOTypein classMarshalByValueComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataColumn cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataColumn, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataColumninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
SetOrdinal
public void SetOrdinal(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, RankException, OutOfMemoryException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionRankExceptionOutOfMemoryExceptionSynchronizationLockException
-
getAllowDBNull
public boolean getAllowDBNull() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAllowDBNull
public void setAllowDBNull(boolean AllowDBNull) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException
-
getAutoIncrement
public boolean getAutoIncrement() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoIncrement
public void setAutoIncrement(boolean AutoIncrement) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException, NotSupportedException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, InvalidCastException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionNotSupportedExceptionOverflowExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionInvalidCastException
-
getReadOnly
public boolean getReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setReadOnly
public void setReadOnly(boolean ReadOnly) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
-
getUnique
public boolean getUnique() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUnique
public void setUnique(boolean Unique) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException, CultureNotFoundException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionEventSourceExceptionCultureNotFoundExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchException
-
getMaxLength
public int getMaxLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxLength
public void setMaxLength(int MaxLength) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException, CultureNotFoundException
-
getOrdinal
public int getOrdinal() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAutoIncrementSeed
public long getAutoIncrementSeed() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoIncrementSeed
public void setAutoIncrementSeed(long AutoIncrementSeed) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
-
getAutoIncrementStep
public long getAutoIncrementStep() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAutoIncrementStep
public void setAutoIncrementStep(long AutoIncrementStep) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
-
getDateTimeMode
public DataSetDateTime getDateTimeMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDateTimeMode
public void setDateTimeMode(DataSetDateTime DateTimeMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getTable
public DataTable getTable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getColumnMapping
public MappingType getColumnMapping() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setColumnMapping
public void setColumnMapping(MappingType ColumnMapping) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException, SynchronizationLockException, KeyNotFoundException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionSynchronizationLockExceptionKeyNotFoundExceptionOverflowExceptionInvalidCastException
-
getExtendedProperties
public PropertyCollection getExtendedProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
-
getDefaultValue
public NetObject getDefaultValue() throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, NotSupportedException, RankException, ArrayTypeMismatchException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOverflowExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionInvalidCastException
-
setDefaultValue
public void setDefaultValue(NetObject DefaultValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionOverflowExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionInvalidCastException
-
getCaption
public java.lang.String getCaption() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCaption
public void setCaption(java.lang.String Caption) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
-
getColumnName
public java.lang.String getColumnName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setColumnName
public void setColumnName(java.lang.String ColumnName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException, NotSupportedException, CultureNotFoundException, KeyNotFoundException, ArrayTypeMismatchException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionEventSourceExceptionNotSupportedExceptionCultureNotFoundExceptionKeyNotFoundExceptionArrayTypeMismatchException
-
getExpression
public java.lang.String getExpression() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setExpression
public void setExpression(java.lang.String Expression) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException, CultureNotFoundException, RankException, ArrayTypeMismatchException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, InvalidCastException, LockRecursionException, SynchronizationLockException, KeyNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionEventSourceExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionInvalidCastExceptionLockRecursionExceptionSynchronizationLockExceptionKeyNotFoundException
-
getNamespace
public java.lang.String getNamespace() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
-
setNamespace
public void setNamespace(java.lang.String Namespace) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException, RankException, ArrayTypeMismatchException
-
getPrefix
public java.lang.String getPrefix() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPrefix
public void setPrefix(java.lang.String Prefix) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException, NotSupportedException, NotImplementedException, RegexMatchTimeoutException, ArrayTypeMismatchException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionEventSourceExceptionNotSupportedExceptionNotImplementedExceptionRegexMatchTimeoutExceptionArrayTypeMismatchException
-
getDataType
public NetType getDataType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataType
public void setDataType(NetType DataType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionNotSupportedExceptionFormatExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionInvalidCastException
-
-