public class ConstraintCollection extends InternalDataCollectionBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.ConstraintCollection
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.ConstraintCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ConstraintCollection() |
ConstraintCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(Constraint constraint) |
Constraint |
Add(java.lang.String name,
DataColumn[] columns,
boolean primaryKey) |
Constraint |
Add(java.lang.String name,
DataColumn[] primaryKeyColumns,
DataColumn[] foreignKeyColumns) |
Constraint |
Add(java.lang.String name,
DataColumn column,
boolean primaryKey) |
Constraint |
Add(java.lang.String name,
DataColumn primaryKeyColumn,
DataColumn foreignKeyColumn) |
void |
addCollectionChanged(CollectionChangeEventHandler handler) |
void |
AddRange(Constraint[] constraints) |
boolean |
CanRemove(Constraint constraint) |
static ConstraintCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ConstraintCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(java.lang.String name) |
void |
CopyTo(Constraint[] array,
int index) |
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 |
IndexOf(Constraint constraint) |
int |
IndexOf(java.lang.String constraintName) |
void |
Remove(Constraint constraint) |
void |
Remove(java.lang.String name) |
void |
RemoveAt(int index) |
void |
removeCollectionChanged(CollectionChangeEventHandler handler) |
void |
setJCOInstance(JCObject instance) |
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRootGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ConstraintCollection()
throws java.lang.Throwable
java.lang.Throwablepublic ConstraintCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(Constraint constraint) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, NotSupportedException, SynchronizationLockException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionSynchronizationLockExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionFormatExceptionpublic Constraint Add(java.lang.String name, DataColumn[] columns, boolean primaryKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidConstraintException, OutOfMemoryException, SynchronizationLockException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidConstraintExceptionOutOfMemoryExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchExceptionpublic Constraint Add(java.lang.String name, DataColumn[] primaryKeyColumns, DataColumn[] foreignKeyColumns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, InvalidConstraintException, FormatException, ArgumentOutOfRangeException, OutOfMemoryException, SynchronizationLockException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionInvalidConstraintExceptionFormatExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchExceptionpublic Constraint Add(java.lang.String name, DataColumn column, boolean primaryKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidConstraintException, OutOfMemoryException, SynchronizationLockException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidConstraintExceptionOutOfMemoryExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchExceptionpublic Constraint Add(java.lang.String name, DataColumn primaryKeyColumn, DataColumn foreignKeyColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, InvalidConstraintException, FormatException, ArgumentOutOfRangeException, OutOfMemoryException, SynchronizationLockException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionInvalidConstraintExceptionFormatExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchExceptionpublic void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void AddRange(Constraint[] constraints) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, NotSupportedException, SynchronizationLockException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionNotSupportedExceptionSynchronizationLockExceptionRankExceptionArrayTypeMismatchExceptionpublic boolean CanRemove(Constraint constraint) throws java.lang.Throwable
java.lang.Throwablepublic static ConstraintCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ConstraintCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConstraintCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
InvalidConstraintException,
NullReferenceException,
NotSupportedException,
CultureNotFoundException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException,
ObjectDisposedException,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
EventSourceException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionInvalidConstraintExceptionNullReferenceExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionObjectDisposedExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionEventSourceExceptionpublic boolean Contains(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionpublic void CopyTo(Constraint[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class InternalDataCollectionBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class InternalDataCollectionBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class InternalDataCollectionBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class InternalDataCollectionBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class InternalDataCollectionBaseJCType representing the CLR Type of the instantiated Classpublic int IndexOf(Constraint constraint) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public int IndexOf(java.lang.String constraintName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionpublic void Remove(Constraint constraint) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, LockRecursionException, RankException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionLockRecursionExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic void Remove(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException,
IndexOutOfRangeException,
FormatException,
LockRecursionException,
SynchronizationLockException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionFormatExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
LockRecursionException,
SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionLockRecursionExceptionSynchronizationLockExceptionpublic void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class InternalDataCollectionBase