Line | |
---|
1 |
|
---|
2 | using System;
|
---|
3 | using System.Xml;
|
---|
4 | using System.Xml.Serialization;
|
---|
5 | using System.IO;
|
---|
6 |
|
---|
7 |
|
---|
8 | namespace Netron.GraphLib.IO.GraphML {
|
---|
9 |
|
---|
10 |
|
---|
11 | [XmlType(IncludeInSchema=true, TypeName="endpoint.type")]
|
---|
12 | [XmlRoot(ElementName="endpoint", IsNullable=false, DataType="")]
|
---|
13 | public class EndPointType {
|
---|
14 |
|
---|
15 | #region Fields
|
---|
16 | private string _node;
|
---|
17 | private string id;
|
---|
18 | private string _port;
|
---|
19 | private string _desc;
|
---|
20 | private EndPointTypeType _type;
|
---|
21 | #endregion
|
---|
22 |
|
---|
23 | #region Properties
|
---|
24 | [XmlElement(ElementName="desc")]
|
---|
25 | public virtual string Desc {
|
---|
26 | get {
|
---|
27 | return this._desc;
|
---|
28 | }
|
---|
29 | set {
|
---|
30 | this._desc = value;
|
---|
31 | }
|
---|
32 | }
|
---|
33 |
|
---|
34 |
|
---|
35 |
|
---|
36 | [XmlAttribute(AttributeName="id")]
|
---|
37 | public virtual string ID {
|
---|
38 | get {
|
---|
39 | return this.id;
|
---|
40 | }
|
---|
41 | set {
|
---|
42 | this.id = value;
|
---|
43 | }
|
---|
44 | }
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 | [XmlAttribute(AttributeName="port")]
|
---|
49 | public virtual string Port {
|
---|
50 | get {
|
---|
51 | return this._port;
|
---|
52 | }
|
---|
53 | set {
|
---|
54 | this._port = value;
|
---|
55 | }
|
---|
56 | }
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 | [XmlAttribute(AttributeName="node")]
|
---|
61 | public virtual string Node {
|
---|
62 | get {
|
---|
63 | return this._node;
|
---|
64 | }
|
---|
65 | set {
|
---|
66 | this._node = value;
|
---|
67 | }
|
---|
68 | }
|
---|
69 |
|
---|
70 |
|
---|
71 |
|
---|
72 | [XmlAttribute(AttributeName="type")]
|
---|
73 | public virtual EndPointTypeType Type {
|
---|
74 | get {
|
---|
75 | return this._type;
|
---|
76 | }
|
---|
77 | set {
|
---|
78 | this._type = value;
|
---|
79 | }
|
---|
80 | }
|
---|
81 | #endregion
|
---|
82 | }
|
---|
83 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.