Clover.NET coverage report - Coverage

Coverage timestamp: viernes, 12 de agosto de 2005 12:53:38 PM

File Stats: LOC: 128   Methods: 0
NCLOC: 54 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Model\IPropertyMap.cs - - - -
coverage
1   #region Copyright
2   /*
3   ShowX. Maps business objects into presentation layer.
4   Copyright (C) 2005 Jesus Diaz.
5  
6   This library is free software; you can redistribute it and/or
7   modify it under the terms of the GNU Lesser General Public
8   License as published by the Free Software Foundation; either
9   version 2.1 of the License, or (at your option) any later version.
10  
11   This library is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14   Lesser General Public License for more details.
15  
16   You should have received a copy of the GNU Lesser General Public
17   License along with this library; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19  
20   For project details see: http://showx.sourceforge.net
21   */
22   #endregion
23  
24   namespace ShowX.Model
25   {
26   /// <summary>
27   /// ItemStyle define the possible styles or kinds of controls used to show
28   /// elements in the presentation layer.
29   /// </summary>
30   public enum ItemStyle {
31   /// <summary>
32   /// The element will be shown as an Hyperlink.
33   /// </summary>
34   HyperLink,
35   /// <summary>
36   /// The element is a text area.
37   /// </summary>
38   TextArea,
39   /// <summary>
40   /// The element is a simple text box.
41   /// </summary>
42   Text,
43   /// <summary>
44   /// The way the element is shown it is not modified.
45   /// </summary>
46   None
47   }
48  
49   /// <summary>
50   /// IPropertyMap provide a common interface to information stored when we are
51   /// mapping a ShowX property.
52   /// </summary>
53   public interface IPropertyMap
54   {
55   /// <summary>
56   /// Reflex the Name associated of the property.
57   /// </summary>
58   string Name
59   {
60   get;
61   set;
62   }
63  
64   /// <summary>
65   /// Reflex readonly-ness of the property.
66   /// </summary>
67   bool ReadOnly
68   {
69   get;
70   set;
71   }
72  
73   /// <summary>
74   /// Reflex whether the property should be edited on insertion.
75   /// </summary>
76   bool EditOnInsert
77   {
78   get;
79   set;
80   }
81  
82   /// <summary>
83   /// Reflex whether the property value should be treated as a password.
84   /// </summary>
85   bool IsPassword
86   {
87   get;
88   set;
89   }
90  
91   /// <summary>
92   /// Reflex whether the value of the property should be show or not.
93   /// </summary>
94   bool Show
95   {
96   get;
97   set;
98   }
99  
100   /// <summary>
101   /// Style for this item.
102   /// </summary>
103   ItemStyle ItemStyle
104   {
105   get;
106   set;
107   }
108  
109   /// <summary>
110   /// Translator for this item.
111   /// </summary>
112   ITranslator Translator
113   {
114   get;
115   set;
116   }
117  
118   /// <summary>
119   /// Heading of this item.
120   /// </summary>
121   string Heading
122   {
123   get;
124   set;
125   }
126   }
127   }
128