public class DataRelationCollection extends InternalDataCollectionBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.DataRelationCollection
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=8.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.DataRelationCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
DataRelationCollection() |
DataRelationCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DataRelation |
Add(DataColumn[] parentColumns,
DataColumn[] childColumns)
Invokes the .NET member Add.
|
DataRelation |
Add(DataColumn parentColumn,
DataColumn childColumn)
Invokes the .NET member Add.
|
void |
Add(DataRelation relation)
Invokes the .NET member Add.
|
DataRelation |
Add(java.lang.String name,
DataColumn[] parentColumns,
DataColumn[] childColumns)
Invokes the .NET member Add.
|
DataRelation |
Add(java.lang.String name,
DataColumn[] parentColumns,
DataColumn[] childColumns,
boolean createConstraints)
Invokes the .NET member Add.
|
DataRelation |
Add(java.lang.String name,
DataColumn parentColumn,
DataColumn childColumn)
Invokes the .NET member Add.
|
DataRelation |
Add(java.lang.String name,
DataColumn parentColumn,
DataColumn childColumn,
boolean createConstraints)
Invokes the .NET member Add.
|
void |
addCollectionChanged(CollectionChangeEventHandler handler)
Invokes the .NET member addCollectionChanged.
|
void |
AddRange(DataRelation[] relations)
Invokes the .NET member AddRange.
|
boolean |
CanRemove(DataRelation relation)
Invokes the .NET member CanRemove.
|
static DataRelationCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataRelationCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(java.lang.String name)
Invokes the .NET member Contains.
|
void |
CopyTo(DataRelation[] array,
int index)
Invokes the .NET member CopyTo.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
IndexOf(DataRelation relation)
Invokes the .NET member IndexOf.
|
int |
IndexOf(java.lang.String relationName)
Invokes the .NET member IndexOf.
|
void |
Remove(DataRelation relation)
Invokes the .NET member Remove.
|
void |
Remove(java.lang.String name)
Invokes the .NET member Remove.
|
void |
RemoveAt(int index)
Invokes the .NET member RemoveAt.
|
void |
removeCollectionChanged(CollectionChangeEventHandler handler)
Invokes the .NET member removeCollectionChanged.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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 DataRelationCollection()
throws java.lang.Throwable
java.lang.Throwablepublic DataRelationCollection(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic DataRelation Add(DataColumn[] parentColumns, DataColumn[] childColumns) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidConstraintException, OutOfMemoryException, CultureNotFoundException
parentColumns - the argument of type DataColumn[]childColumns - the argument of type DataColumn[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DataRelation Add(DataColumn parentColumn, DataColumn childColumn) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, InvalidConstraintException, CultureNotFoundException
parentColumn - the argument of type DataColumnchildColumn - the argument of type DataColumnjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void Add(DataRelation relation) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, EventSourceException, CultureNotFoundException
relation - the argument of type DataRelationjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DataRelation Add(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidConstraintException, OutOfMemoryException, CultureNotFoundException
name - the argument of type java.lang.StringparentColumns - the argument of type DataColumn[]childColumns - the argument of type DataColumn[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DataRelation Add(java.lang.String name, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, EventSourceException, InvalidConstraintException, OutOfMemoryException, CultureNotFoundException
name - the argument of type java.lang.StringparentColumns - the argument of type DataColumn[]childColumns - the argument of type DataColumn[]createConstraints - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DataRelation Add(java.lang.String name, DataColumn parentColumn, DataColumn childColumn) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, InvalidConstraintException, CultureNotFoundException
name - the argument of type java.lang.StringparentColumn - the argument of type DataColumnchildColumn - the argument of type DataColumnjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DataRelation Add(java.lang.String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, InvalidConstraintException
name - the argument of type java.lang.StringparentColumn - the argument of type DataColumnchildColumn - the argument of type DataColumncreateConstraints - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidConstraintException - if the .NET member raises itpublic void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AddRange(DataRelation[] relations) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException
relations - the argument of type DataRelation[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic boolean CanRemove(DataRelation relation) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
relation - the argument of type DataRelationjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DataRelationCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataRelationCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataRelationCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic boolean Contains(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ExternalException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic void CopyTo(DataRelation[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
array - the argument of type DataRelation[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class InternalDataCollectionBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class InternalDataCollectionBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class InternalDataCollectionBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class InternalDataCollectionBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class InternalDataCollectionBasepublic int IndexOf(DataRelation relation) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
relation - the argument of type DataRelationjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int IndexOf(java.lang.String relationName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ExternalException
relationName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic void Remove(DataRelation relation) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
relation - the argument of type DataRelationjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void Remove(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class InternalDataCollectionBaseinstance - the new underlying object