Package system.data
Class EntityKey
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.EntityKey
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class EntityKey extends NetObject
The base .NET class managing System.Data.EntityKey, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.EntityKey
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.StringassemblyFullNameFully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Data.Entitystatic java.lang.StringclassNameQualified class name: System.Data.EntityKeystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityKeycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoEntityKey, a cast assert is made to check if types are compatible.booleanEquals(EntityKey other)java.lang.StringgetEntityContainerName()EntityKeyMember[]getEntityKeyValues()EntitySetGetEntitySet(MetadataWorkspace metadataWorkspace)java.lang.StringgetEntitySetName()booleangetIsTemporary()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypevoidOnDeserialized(StreamingContext context)voidOnDeserializing(StreamingContext context)voidsetEntityContainerName(java.lang.String EntityContainerName)voidsetEntityKeyValues(EntityKeyMember[] EntityKeyValues)voidsetEntitySetName(java.lang.String EntitySetName)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Entity- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.EntityKey- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntityKey
public EntityKey(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
EntityKey
public EntityKey() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
EntityKey
public EntityKey(java.lang.String qualifiedEntitySetName, java.lang.String keyName, NetObject keyValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RegexMatchTimeoutException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static EntityKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoEntityKey, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
EntityKeyinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(EntityKey other) throws java.lang.Throwable, NullReferenceException
- Throws:
java.lang.ThrowableNullReferenceException
-
GetEntitySet
public EntitySet GetEntitySet(MetadataWorkspace metadataWorkspace) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, MappingException, MetadataException
-
OnDeserialized
public void OnDeserialized(StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentNullException, KeyNotFoundException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionKeyNotFoundExceptionArgumentOutOfRangeException
-
OnDeserializing
public void OnDeserializing(StreamingContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException
-
getIsTemporary
public boolean getIsTemporary() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException
-
getEntityKeyValues
public final EntityKeyMember[] getEntityKeyValues() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, KeyNotFoundException
-
setEntityKeyValues
public void setEntityKeyValues(EntityKeyMember[] EntityKeyValues) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, RegexMatchTimeoutException, FormatException, KeyNotFoundException
-
getEntityContainerName
public java.lang.String getEntityContainerName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEntityContainerName
public void setEntityContainerName(java.lang.String EntityContainerName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, KeyNotFoundException
-
getEntitySetName
public java.lang.String getEntitySetName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEntitySetName
public void setEntitySetName(java.lang.String EntitySetName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, KeyNotFoundException
-
-