Package system.workflow.activities
Class CallExternalMethodActivity
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.workflow.componentmodel.DependencyObject
-
- system.workflow.componentmodel.Activity
-
- system.workflow.activities.CallExternalMethodActivity
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDynamicPropertyTypeProvider
public class CallExternalMethodActivity extends Activity implements IDynamicPropertyTypeProvider
The base .NET class managing System.Workflow.Activities.CallExternalMethodActivity, System.Workflow.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Workflow.Activities.CallExternalMethodActivity
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.Workflow.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Workflow.Activitiesstatic java.lang.String
className
Qualified class name: System.Workflow.Activities.CallExternalMethodActivitystatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CallExternalMethodActivity()
CallExternalMethodActivity(java.lang.Object instance)
Internal constructor.CallExternalMethodActivity(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMethodInvoking(EventHandler handler)
static CallExternalMethodActivity
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoCallExternalMethodActivity
, a cast assert is made to check if types are compatible.CorrelationToken
getCorrelationToken()
NetType
getInterfaceType()
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getMethodName()
WorkflowParameterBindingCollection
getParameterBindings()
void
removeMethodInvoking(EventHandler handler)
void
setCorrelationToken(CorrelationToken CorrelationToken)
void
setInterfaceType(NetType InterfaceType)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setMethodName(java.lang.String MethodName)
-
Methods inherited from class system.workflow.componentmodel.Activity
Clone, GetActivityByName, GetActivityByName, getDescription, getEnabled, getExecutionResult, getExecutionStatus, getIsDynamicActivity, getName, getParent, getQualifiedName, Load, Load, Save, Save, setDescription, setEnabled, setName
-
Methods inherited from class system.workflow.componentmodel.DependencyObject
AddHandler, close, Dispose, GetBinding, getSite, getUserData, GetValue, GetValueBase, IsBindingSet, MetaEquals, RemoveHandler, RemoveProperty, SetBinding, setSite, SetValue, SetValueBase
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.workflow.componentmodel.IDynamicPropertyTypeProvider
GetAccessType, GetPropertyType
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Workflow.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Workflow.Activities- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Workflow.Activities.CallExternalMethodActivity- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
CallExternalMethodActivity
public CallExternalMethodActivity(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
CallExternalMethodActivity
public CallExternalMethodActivity() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, NotSupportedException, MulticastNotSupportedException
-
CallExternalMethodActivity
public CallExternalMethodActivity(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, NotSupportedException, MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDynamicPropertyTypeProvider
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classActivity
- 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 interfaceIDynamicPropertyTypeProvider
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classActivity
- 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 interfaceIDynamicPropertyTypeProvider
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classActivity
- 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 interfaceIDynamicPropertyTypeProvider
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classActivity
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classActivity
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDynamicPropertyTypeProvider
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classActivity
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static CallExternalMethodActivity cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCallExternalMethodActivity
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
CallExternalMethodActivity
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getMethodName
public java.lang.String getMethodName() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
MulticastNotSupportedException
-
setMethodName
public void setMethodName(java.lang.String MethodName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, MulticastNotSupportedException, InvalidCastException
-
getInterfaceType
public NetType getInterfaceType() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
MulticastNotSupportedException
-
setInterfaceType
public void setInterfaceType(NetType InterfaceType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, MulticastNotSupportedException, InvalidCastException
-
getParameterBindings
public WorkflowParameterBindingCollection getParameterBindings() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
MulticastNotSupportedException
-
getCorrelationToken
public CorrelationToken getCorrelationToken() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
MulticastNotSupportedException
-
setCorrelationToken
public void setCorrelationToken(CorrelationToken CorrelationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, MulticastNotSupportedException, InvalidCastException
-
addMethodInvoking
public void addMethodInvoking(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMethodInvoking
public void removeMethodInvoking(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-