Package system.data
Class DataColumn
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.MarshalByValueComponent
-
- system.data.DataColumn
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class DataColumn extends MarshalByValueComponent
The base .NET class managing System.Data.DataColumn, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataColumn
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Datastatic String
className
Qualified class name: System.Data.DataColumnstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataColumn()
DataColumn(Object instance)
Internal constructor.DataColumn(String columnName)
DataColumn(String columnName, NetType dataType)
DataColumn(String columnName, NetType dataType, String expr)
DataColumn(String columnName, NetType dataType, 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()
String
getCaption()
MappingType
getColumnMapping()
String
getColumnName()
NetType
getDataType()
DataSetDateTime
getDateTimeMode()
NetObject
getDefaultValue()
String
getExpression()
PropertyCollection
getExtendedProperties()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getMaxLength()
String
getNamespace()
int
getOrdinal()
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(String Caption)
void
setColumnMapping(MappingType ColumnMapping)
void
setColumnName(String ColumnName)
void
setDataType(NetType DataType)
void
setDateTimeMode(DataSetDateTime DateTimeMode)
void
setDefaultValue(NetObject DefaultValue)
void
setExpression(String Expression)
void
setJCOInstance(JCObject instance)
void
setMaxLength(int MaxLength)
void
setNamespace(String Namespace)
void
SetOrdinal(int ordinal)
void
setPrefix(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
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.DataColumn- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataColumn
public DataColumn(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
DataColumn
public DataColumn() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationException, ConfigurationErrorsException, FormatException, DataException, OverflowException, SqlNullValueException
- Throws:
Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationException
ConfigurationErrorsException
FormatException
DataException
OverflowException
SqlNullValueException
-
DataColumn
public DataColumn(String columnName) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationException, ConfigurationErrorsException, FormatException, DataException, OverflowException, SqlNullValueException
- Throws:
Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationException
ConfigurationErrorsException
FormatException
DataException
OverflowException
SqlNullValueException
-
DataColumn
public DataColumn(String columnName, NetType dataType) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationException, ConfigurationErrorsException, FormatException, DataException, OverflowException, SqlNullValueException
- Throws:
Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationException
ConfigurationErrorsException
FormatException
DataException
OverflowException
SqlNullValueException
-
DataColumn
public DataColumn(String columnName, NetType dataType, String expr) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NullReferenceException, MemberAccessException, ConfigurationException, ConfigurationErrorsException, FormatException, DataException, OverflowException, SqlNullValueException
- Throws:
Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NullReferenceException
MemberAccessException
ConfigurationException
ConfigurationErrorsException
FormatException
DataException
OverflowException
SqlNullValueException
-
DataColumn
public DataColumn(String columnName, NetType dataType, String expr, MappingType type) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, MemberAccessException, PathTooLongException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, DataException, OutOfMemoryException, OverflowException, SqlNullValueException, SqlTruncateException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
NullReferenceException
MemberAccessException
PathTooLongException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
DataException
OutOfMemoryException
OverflowException
SqlNullValueException
SqlTruncateException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
SetOrdinal
public void SetOrdinal(int ordinal) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, IndexOutOfRangeException, RankException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
IndexOutOfRangeException
RankException
-
setAllowDBNull
public void setAllowDBNull(boolean AllowDBNull) throws Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
setAutoIncrement
public void setAutoIncrement(boolean AutoIncrement) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, DataException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, InvalidCastException, NullReferenceException, MemberAccessException, ConfigurationException, ConfigurationErrorsException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
OverflowException
DataException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
InvalidCastException
NullReferenceException
MemberAccessException
ConfigurationException
ConfigurationErrorsException
-
setReadOnly
public void setReadOnly(boolean ReadOnly) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
-
setUnique
public void setUnique(boolean Unique) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, IndexOutOfRangeException, RankException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
IndexOutOfRangeException
RankException
-
setMaxLength
public void setMaxLength(int MaxLength) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
-
setAutoIncrementSeed
public void setAutoIncrementSeed(long AutoIncrementSeed) throws Throwable
- Throws:
Throwable
-
setAutoIncrementStep
public void setAutoIncrementStep(long AutoIncrementStep) throws Throwable
- Throws:
Throwable
-
getDateTimeMode
public DataSetDateTime getDateTimeMode() throws Throwable
- Throws:
Throwable
-
setDateTimeMode
public void setDateTimeMode(DataSetDateTime DateTimeMode) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, IndexOutOfRangeException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
IndexOutOfRangeException
-
getColumnMapping
public MappingType getColumnMapping() throws Throwable
- Throws:
Throwable
-
setColumnMapping
public void setColumnMapping(MappingType ColumnMapping) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NotSupportedException, RankException, KeyNotFoundException, DataException, OverflowException, InvalidCastException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
NotSupportedException
RankException
KeyNotFoundException
DataException
OverflowException
InvalidCastException
-
getExtendedProperties
public PropertyCollection getExtendedProperties() throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException
-
getDefaultValue
public NetObject getDefaultValue() throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, DataException, OutOfMemoryException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, NullReferenceException, SecurityException, UriFormatException, InvalidCastException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
DataException
OutOfMemoryException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
NullReferenceException
SecurityException
UriFormatException
InvalidCastException
-
setDefaultValue
public void setDefaultValue(NetObject DefaultValue) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, DataException, OutOfMemoryException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UriFormatException, InvalidCastException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
MissingManifestResourceException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
DataException
OutOfMemoryException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
UriFormatException
InvalidCastException
-
setCaption
public void setCaption(String Caption) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
setColumnName
public void setColumnName(String ColumnName) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, KeyNotFoundException, IndexOutOfRangeException
- Throws:
Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
NotImplementedException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
KeyNotFoundException
IndexOutOfRangeException
-
setExpression
public void setExpression(String Expression) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NullReferenceException, FormatException, DataException, OutOfMemoryException, OverflowException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, InvalidCastException, KeyNotFoundException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NullReferenceException
FormatException
DataException
OutOfMemoryException
OverflowException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
InvalidCastException
KeyNotFoundException
-
getNamespace
public String getNamespace() throws Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
setNamespace
public void setNamespace(String Namespace) throws Throwable, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
setPrefix
public void setPrefix(String Prefix) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NullReferenceException
ObjectDisposedException
RankException
NotSupportedException
SecurityException
NotImplementedException
FormatException
-
setDataType
public void setDataType(NetType DataType) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, DataException, SqlTypeException, SqlNullValueException, SqlTruncateException, DivideByZeroException, UriFormatException, InvalidCastException, ConfigurationException, ConfigurationErrorsException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
OverflowException
DataException
SqlTypeException
SqlNullValueException
SqlTruncateException
DivideByZeroException
UriFormatException
InvalidCastException
ConfigurationException
ConfigurationErrorsException
-
-