public class DataColumn extends MarshalByValueComponent
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataColumn
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.DataColumn
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
static DataColumn |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataColumn, a cast assert is made to check if types are compatible. |
boolean |
getAllowDBNull() |
boolean |
getAutoIncrement() |
long |
getAutoIncrementSeed() |
long |
getAutoIncrementStep() |
java.lang.String |
getCaption() |
MappingType |
getColumnMapping() |
java.lang.String |
getColumnName() |
NetType |
getDataType() |
DataSetDateTime |
getDateTimeMode() |
NetObject |
getDefaultValue() |
java.lang.String |
getExpression() |
PropertyCollection |
getExtendedProperties() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getMaxLength() |
java.lang.String |
getNamespace() |
int |
getOrdinal() |
java.lang.String |
getPrefix() |
boolean |
getReadOnly() |
DataTable |
getTable() |
boolean |
getUnique() |
void |
setAllowDBNull(boolean AllowDBNull) |
void |
setAutoIncrement(boolean AutoIncrement) |
void |
setAutoIncrementSeed(long AutoIncrementSeed) |
void |
setAutoIncrementStep(long AutoIncrementStep) |
void |
setCaption(java.lang.String Caption) |
void |
setColumnMapping(MappingType ColumnMapping) |
void |
setColumnName(java.lang.String ColumnName) |
void |
setDataType(NetType DataType) |
void |
setDateTimeMode(DataSetDateTime DateTimeMode) |
void |
setDefaultValue(NetObject DefaultValue) |
void |
setExpression(java.lang.String Expression) |
void |
setJCOInstance(JCObject instance) |
void |
setMaxLength(int MaxLength) |
void |
setNamespace(java.lang.String Namespace) |
void |
SetOrdinal(int ordinal) |
void |
setPrefix(java.lang.String Prefix) |
void |
setReadOnly(boolean ReadOnly) |
void |
setUnique(boolean Unique) |
addDisposed, close, Dispose, getContainer, getDesignMode, GetService, getSite, removeDisposed, setSitepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataColumn()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
OverflowException,
SqlNullValueException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockExceptionpublic DataColumn(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DataColumn(java.lang.String columnName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
OverflowException,
SqlNullValueException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockExceptionpublic DataColumn(java.lang.String columnName,
NetType dataType)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
OverflowException,
SqlNullValueException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockExceptionpublic DataColumn(java.lang.String columnName,
NetType dataType,
java.lang.String expr)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
OverflowException,
SqlNullValueException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionSynchronizationLockExceptionpublic 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
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionOverflowExceptionSqlNullValueExceptionSqlTruncateExceptionInvalidCastExceptionSynchronizationLockExceptionpublic static DataColumn cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataColumn, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataColumn instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowDBNull()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAutoIncrement()
throws java.lang.Throwable
java.lang.Throwablepublic long getAutoIncrementSeed()
throws java.lang.Throwable
java.lang.Throwablepublic long getAutoIncrementStep()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCaption()
throws java.lang.Throwable
java.lang.Throwablepublic MappingType getColumnMapping() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getColumnName()
throws java.lang.Throwable
java.lang.Throwablepublic NetType getDataType() throws java.lang.Throwable
java.lang.Throwablepublic DataSetDateTime getDateTimeMode() throws java.lang.Throwable
java.lang.Throwablepublic NetObject getDefaultValue() throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, UriFormatException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionUriFormatExceptionInvalidCastExceptionpublic java.lang.String getExpression()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyCollection getExtendedProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByValueComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByValueComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByValueComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByValueComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByValueComponentJCType representing the CLR Type of the instantiated Classpublic int getMaxLength()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getNamespace()
throws java.lang.Throwable,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException
public int getOrdinal()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPrefix()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getReadOnly()
throws java.lang.Throwable
java.lang.Throwablepublic DataTable getTable() throws java.lang.Throwable
java.lang.Throwablepublic boolean getUnique()
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowDBNull(boolean AllowDBNull)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException
public void setAutoIncrement(boolean AutoIncrement)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException,
OverflowException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
SqlTypeException,
SqlNullValueException,
SqlTruncateException,
DivideByZeroException,
UriFormatException,
InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionOverflowExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUriFormatExceptionInvalidCastExceptionpublic void setAutoIncrementSeed(long AutoIncrementSeed)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException
public void setAutoIncrementStep(long AutoIncrementStep)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException
public void setCaption(java.lang.String Caption)
throws java.lang.Throwable,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentOutOfRangeException,
ArgumentException
public void setColumnMapping(MappingType ColumnMapping) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SynchronizationLockException, IndexOutOfRangeException, KeyNotFoundException, OverflowException, InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSynchronizationLockExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionOverflowExceptionInvalidCastExceptionpublic void setColumnName(java.lang.String ColumnName)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
KeyNotFoundException,
ArrayTypeMismatchException
public void setDataType(NetType DataType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FormatException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, UriFormatException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionUriFormatExceptionInvalidCastExceptionpublic void setDateTimeMode(DataSetDateTime DateTimeMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public void setDefaultValue(NetObject DefaultValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, EventSourceException, OverflowException, IndexOutOfRangeException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UnreachableException, UriFormatException, InvalidCastException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionOverflowExceptionIndexOutOfRangeExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUnreachableExceptionUriFormatExceptionInvalidCastExceptionpublic void setExpression(java.lang.String Expression)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
OverflowException,
SqlTypeException,
SqlNullValueException,
SqlTruncateException,
DivideByZeroException,
UriFormatException,
LockRecursionException,
SynchronizationLockException,
KeyNotFoundException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionEventSourceExceptionCultureNotFoundExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionOverflowExceptionSqlTypeExceptionSqlNullValueExceptionSqlTruncateExceptionDivideByZeroExceptionUriFormatExceptionLockRecursionExceptionSynchronizationLockExceptionKeyNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByValueComponentpublic void setMaxLength(int MaxLength)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
ArrayTypeMismatchException
public void setNamespace(java.lang.String Namespace)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public void SetOrdinal(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException,
RankException,
InvalidCastException,
OutOfMemoryException,
SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionOutOfMemoryExceptionSynchronizationLockExceptionpublic void setPrefix(java.lang.String Prefix)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException,
NotImplementedException,
RegexMatchTimeoutException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionNotImplementedExceptionRegexMatchTimeoutExceptionArrayTypeMismatchExceptionpublic void setReadOnly(boolean ReadOnly)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException
public void setUnique(boolean Unique)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
ObjectDisposedException,
LockRecursionException,
SynchronizationLockException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionEventSourceExceptionCultureNotFoundExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchException