C# Class OpenSlx.AutoWire.MethodDescription

Show file Open project: nicocrm/OpenSlx Class Usage Examples

Public Properties

Property Type Description
DeclaringType String
Description String
EventType EventType
MethodType MethodType
Name String
ParameterTypes OpenSlx.AutoWire.ParamDescription[]
ReturnType String
StepType TargetStepType
TargetEntity String

Public Methods

Method Description
CreateMethod ( OrmEntity entity ) : OrmEntityMethod

Create a new method or return existing method if appropriate

CreateTarget ( String descriptionPrefix ) : OrmMethodTarget
Equals ( object obj ) : bool
MatchTarget ( OrmMethodTarget target, TargetStepType targetStepType, String descriptionPrefix ) : bool

Method Details

CreateMethod() public method

Create a new method or return existing method if appropriate
public CreateMethod ( OrmEntity entity ) : OrmEntityMethod
entity OrmEntity
return OrmEntityMethod

CreateTarget() public method

public CreateTarget ( String descriptionPrefix ) : OrmMethodTarget
descriptionPrefix String
return OrmMethodTarget

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

MatchTarget() public method

public MatchTarget ( OrmMethodTarget target, TargetStepType targetStepType, String descriptionPrefix ) : bool
target OrmMethodTarget
targetStepType TargetStepType
descriptionPrefix String
return bool

Property Details

DeclaringType public property

Full name for the declaring type
public String DeclaringType
return String

Description public property

Description (to be used as comment in AA)
public String Description
return String

EventType public property

public EventType EventType
return EventType

MethodType public property

public MethodType MethodType
return MethodType

Name public property

Method name (for a business rule)
public String Name
return String

ParameterTypes public property

Other input parameters
public ParamDescription[],OpenSlx.AutoWire ParameterTypes
return OpenSlx.AutoWire.ParamDescription[]

ReturnType public property

Type returned by a method - this is always the last paramter, and must be defined as an output parameter
public String ReturnType
return String

StepType public property

Whether this is a pre, post, primary step. If this is specified as a primary step
public TargetStepType StepType
return TargetStepType

TargetEntity public property

Entity type this applies to. This is only the last part of the name eg IContact.
public String TargetEntity
return String