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.String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic java.lang.String
className
Qualified class name: System.Data.DataColumnstatic JCType
classType
The 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 DataColumn
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataColumn
, 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 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 Typeint
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)
-
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.Throwable
Internal 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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
OverflowException
SqlNullValueException
InvalidCastException
SynchronizationLockException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
OverflowException
SqlNullValueException
SqlTruncateException
InvalidCastException
SynchronizationLockException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
OverflowException
SqlNullValueException
InvalidCastException
SynchronizationLockException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
OverflowException
SqlNullValueException
InvalidCastException
SynchronizationLockException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
EventSourceException
OverflowException
SqlNullValueException
InvalidCastException
SynchronizationLockException
-
-
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 classMarshalByValueComponent
- 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 classMarshalByValueComponent
- 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 classMarshalByValueComponent
- 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 classMarshalByValueComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByValueComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classMarshalByValueComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataColumn cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataColumn
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataColumn
instance- 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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
FormatException
ArrayTypeMismatchException
RankException
OutOfMemoryException
SynchronizationLockException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
OutOfMemoryException
EventSourceException
NotSupportedException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
InvalidCastException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
EventSourceException
CultureNotFoundException
ObjectDisposedException
LockRecursionException
SynchronizationLockException
RankException
ArrayTypeMismatchException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
OutOfMemoryException
EventSourceException
SynchronizationLockException
KeyNotFoundException
OverflowException
InvalidCastException
-
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.Throwable
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
NotSupportedException
RankException
ArrayTypeMismatchException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
UnreachableException
InvalidCastException
-
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.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
OutOfMemoryException
EventSourceException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
UnreachableException
InvalidCastException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
EventSourceException
NotSupportedException
CultureNotFoundException
KeyNotFoundException
ArrayTypeMismatchException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
EventSourceException
CultureNotFoundException
RankException
ArrayTypeMismatchException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
InvalidCastException
LockRecursionException
SynchronizationLockException
KeyNotFoundException
-
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.Throwable
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
OutOfMemoryException
EventSourceException
NotSupportedException
NotImplementedException
RegexMatchTimeoutException
ArrayTypeMismatchException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
FormatException
OverflowException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
UnreachableException
InvalidCastException
-
-