Class ModelElementDelegateVisitor
visitor delegating to actions.
Inherited Members
Namespace: TimeCockpit.Data.DataModel
Assembly: TimeCockpit.Data.dll
Syntax
public class ModelElementDelegateVisitor : ModelElementVisitor
Constructors
ModelElementDelegateVisitor()
Declaration
public ModelElementDelegateVisitor()
Properties
OnCulture
Gets or sets the OnCulture action.
Declaration
public Action<Culture> OnCulture { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Culture> |
OnEntityView
Gets or sets the OnEntityView action.
Declaration
public Action<EntityView> OnEntityView { get; set; }
Property Value
Type | Description |
---|---|
System.Action<EntityView> |
OnLogicalRelation
Gets or sets the OnLogicalRelation action.
Declaration
public Action<LogicalRelation> OnLogicalRelation { get; set; }
Property Value
Type | Description |
---|---|
System.Action<LogicalRelation> |
OnModel
Gets or sets the OnModel action.
Declaration
public Action<Model> OnModel { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Model> |
OnModelAction
Gets or sets the OnModelAction action.
Declaration
public Action<ModelAction> OnModelAction { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ModelAction> |
OnModelEntityBase
Gets or sets the OnModelEntityBase action.
Declaration
public Action<ModelEntityBase> OnModelEntityBase { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ModelEntityBase> |
OnModelEntityInterface
Gets or sets the OnModelEntityInterface action.
Declaration
public Action<ModelEntityInterface> OnModelEntityInterface { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ModelEntityInterface> |
OnModelProperty
Gets or sets the OnModelProperty action.
Declaration
public Action<ModelProperty> OnModelProperty { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ModelProperty> |
OnNamedSetDefinition
Gets or sets the OnNamedSetDefinition action.
Declaration
public Action<NamedSetDefinition> OnNamedSetDefinition { get; set; }
Property Value
Type | Description |
---|---|
System.Action<NamedSetDefinition> |
OnPermission
Gets or sets the OnPermission action.
Declaration
public Action<Permission> OnPermission { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Permission> |
OnRelation
Gets or sets the OnRelation action.
Declaration
public Action<Relation> OnRelation { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Relation> |
OnTrigger
Gets or sets the OnTrigger action.
Declaration
public Action<Trigger> OnTrigger { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Trigger> |
OnValidationRule
Gets or sets the OnValidationRule action.
Declaration
public Action<ValidationRule> OnValidationRule { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ValidationRule> |
Methods
Visit(ModelAction)
Visits a ModelAction model element.
Declaration
public override void Visit(ModelAction modelAction)
Parameters
Type | Name | Description |
---|---|---|
ModelAction | modelAction | the model action to visit. |
Overrides
Visit(Culture)
Visits a Culture model element.
Declaration
public override void Visit(Culture culture)
Parameters
Type | Name | Description |
---|---|---|
Culture | culture | the culture element being visited. |
Overrides
Visit(EntityView)
Visits a EntityView model element.
Declaration
public override void Visit(EntityView entityView)
Parameters
Type | Name | Description |
---|---|---|
EntityView | entityView | the entityView to visit. |
Overrides
Visit(LogicalRelation)
Visits a LogicalRelation model element.
Declaration
public override void Visit(LogicalRelation logicalRelation)
Parameters
Type | Name | Description |
---|---|---|
LogicalRelation | logicalRelation | The logical relation to visit. |
Overrides
Visit(Model)
Visits a Model model element.
Declaration
public override void Visit(Model model)
Parameters
Type | Name | Description |
---|---|---|
Model | model | the model to visit. |
Overrides
Visit(ModelEntityBase)
Visits a ModelEntityBase model element.
Declaration
public override void Visit(ModelEntityBase modelEntityBase)
Parameters
Type | Name | Description |
---|---|---|
ModelEntityBase | modelEntityBase | the model entity to visit. |
Overrides
Visit(ModelEntityInterface)
Visits a ModelEntityInterface model element.
Declaration
public override void Visit(ModelEntityInterface modelEntityInterface)
Parameters
Type | Name | Description |
---|---|---|
ModelEntityInterface | modelEntityInterface | the ModelEntityInterface to visit. |
Overrides
Visit(ModelProperty)
Visits a ModelProperty model element.
Declaration
public override void Visit(ModelProperty property)
Parameters
Type | Name | Description |
---|---|---|
ModelProperty | property | the ModelProperty to visit. |
Overrides
Visit(NamedSetDefinition)
Visits a NamedSetDefinition model element.
Declaration
public override void Visit(NamedSetDefinition namedSetDefinition)
Parameters
Type | Name | Description |
---|---|---|
NamedSetDefinition | namedSetDefinition | the NamedSetDefinition to visit. |
Overrides
Visit(Relation)
Visits a Relation model element.
Declaration
public override void Visit(Relation relation)
Parameters
Type | Name | Description |
---|---|---|
Relation | relation | the relation to visit. |
Overrides
Visit(Trigger)
Visits a Trigger model element.
Declaration
public override void Visit(Trigger trigger)
Parameters
Type | Name | Description |
---|---|---|
Trigger | trigger | the trigger to visit. |
Overrides
Visit(ValidationRule)
Visits a ValidationRule model element.
Declaration
public override void Visit(ValidationRule validationRule)
Parameters
Type | Name | Description |
---|---|---|
ValidationRule | validationRule | the ValidationRule to visit. |
Overrides
Visit(Permission)
Visits a Permission model element.
Declaration
public override void Visit(Permission permission)
Parameters
Type | Name | Description |
---|---|---|
Permission | permission | the permission to visit. |