/
Entity.cs
31 lines (25 loc) · 1.01 KB
/
Entity.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Collections.Generic;
namespace SwqlStudio.Metadata
{
public class Entity : IObsoleteMetadata
{
private readonly List<Property> properties = new List<Property>();
private readonly List<Verb> verbs = new List<Verb>();
public string FullName { get; set; }
public string Namespace { get; set; }
public string BaseType { get; set; }
public bool IsIndication { get; set; }
public bool IsAbstract { get; set; }
public bool IsObsolete { get; set; }
public string ObsolescenceReason { get; set; }
public bool CanCreate { get; set; }
public bool CanDelete { get; set; }
public bool CanInvoke { get; set; }
public bool CanRead { get; set; }
public bool CanUpdate { get; set; }
public string Summary { get; set; }
public Entity BaseEntity { get; set; }
public List<Property> Properties { get { return properties; } }
public List<Verb> Verbs { get { return verbs; } }
}
}