| |||||||||||||||||
| Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
| Model\XmlModel\XmlMappingFileConst.cs | - | - | - | - |
|
||||||||||||
| 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.XmlModel | |
| 25 | { | |
| 26 | /// <summary> | |
| 27 | /// XmlMappingFileConst define xml tags and constants used in mapping files. | |
| 28 | /// </summary> | |
| 29 | public class XmlMappingFileConst | |
| 30 | { | |
| 31 | #region Xml tag constants | |
| 32 | ||
| 33 | /// <summary> | |
| 34 | /// Root tag. | |
| 35 | /// </summary> | |
| 36 | public static string rootTag = "class-mapping"; | |
| 37 | /// <summary> | |
| 38 | /// Property mapping tag. | |
| 39 | /// </summary> | |
| 40 | public static string propertyMappingTag = "property-mapping"; | |
| 41 | /// <summary> | |
| 42 | /// Property tag mapping name attribute constant. | |
| 43 | /// </summary> | |
| 44 | public static string propertyMappingNameAttr = "name"; | |
| 45 | /// <summary> | |
| 46 | /// Property tag mapping handler class attribute constant. | |
| 47 | /// </summary> | |
| 48 | public static string propertyMappingHandlerClassAttr = "handler-class"; | |
| 49 | /// <summary> | |
| 50 | /// Id tag. | |
| 51 | /// </summary> | |
| 52 | public static string idTag = "id"; | |
| 53 | /// <summary> | |
| 54 | /// Property tag. | |
| 55 | /// </summary> | |
| 56 | public static string propertyTag = "property"; | |
| 57 | /// <summary> | |
| 58 | /// Foreign key property tag. | |
| 59 | /// </summary> | |
| 60 | public static string fkPropertyTag = "fk-property"; | |
| 61 | /// <summary> | |
| 62 | /// Property tag name attribute constant. | |
| 63 | /// </summary> | |
| 64 | public static string propertyNameAttr = "name"; | |
| 65 | /// <summary> | |
| 66 | /// Property tag heading attribute constant. | |
| 67 | /// </summary> | |
| 68 | public static string propertyHeadingAttr = "heading"; | |
| 69 | /// <summary> | |
| 70 | /// Property tag read-only attribute constant. | |
| 71 | /// </summary> | |
| 72 | public static string propertyReadOnlyAttr = "read-only"; | |
| 73 | /// <summary> | |
| 74 | /// Property tag edit-on-insert attribute constant. | |
| 75 | /// </summary> | |
| 76 | public static string propertyEditOnInsertAttr = "edit-on-insert"; | |
| 77 | /// <summary> | |
| 78 | /// Property tag is-password attribute constant. | |
| 79 | /// </summary> | |
| 80 | public static string propertyIsPasswordAttr = "is-password"; | |
| 81 | /// <summary> | |
| 82 | /// Property tag show attribute constant. | |
| 83 | /// </summary> | |
| 84 | public static string propertyShowAttr = "show"; | |
| 85 | /// <summary> | |
| 86 | /// Property tag sustitute-attribute attribute constant. | |
| 87 | /// </summary> | |
| 88 | public static string propertySustituteAttr = "sustitute-attribute"; | |
| 89 | ||
| 90 | /// <summary> | |
| 91 | /// Property tag item-style attribute constant. | |
| 92 | /// </summary> | |
| 93 | public static string propertyItemStyleAttr = "item-style"; | |
| 94 | ||
| 95 | /// <summary> | |
| 96 | /// Property tag translator attribute constant. | |
| 97 | /// </summary> | |
| 98 | public static string propertyTranslatorAttr = "translator"; | |
| 99 | /// <summary> | |
| 100 | /// Validation tag. | |
| 101 | /// </summary> | |
| 102 | public static string validationTag = "validation"; | |
| 103 | /// <summary> | |
| 104 | /// Validation tag validate-for attribute constant. | |
| 105 | /// </summary> | |
| 106 | public static string validationValidateForAttr = "validate-for"; | |
| 107 | /// <summary> | |
| 108 | /// Validation tag message attribute constant. | |
| 109 | /// </summary> | |
| 110 | public static string validationMessageAttr = "message"; | |
| 111 | /// <summary> | |
| 112 | /// Validation tag reg-exp attribute constant. | |
| 113 | /// </summary> | |
| 114 | public static string validationRegExpAttr = "reg-exp"; | |
| 115 | /// <summary> | |
| 116 | /// Collection property tag | |
| 117 | /// </summary> | |
| 118 | public static string collectionPropertyTag = "collection-property"; | |
| 119 | /// <summary> | |
| 120 | /// Collection tag contained-type attribute constant. | |
| 121 | /// </summary> | |
| 122 | public static string collectionContainedTypeTag = "contained-type"; | |
| 123 | /// <summary> | |
| 124 | /// Views tag. | |
| 125 | /// </summary> | |
| 126 | public static string viewsTag = "views"; | |
| 127 | /// <summary> | |
| 128 | /// Views tag default view attribute constant. | |
| 129 | /// </summary> | |
| 130 | public static string viewsDefaultViewAttr = "default-view"; | |
| 131 | /// <summary> | |
| 132 | /// View tag (Define a single view). | |
| 133 | /// </summary> | |
| 134 | public static string singleViewTag = "view"; | |
| 135 | /// <summary> | |
| 136 | /// View Tag view name attribute constant. | |
| 137 | /// </summary> | |
| 138 | public static string singleViewTagViewNameAttr = "name"; | |
| 139 | /// <summary> | |
| 140 | /// Property set tag for a single view. | |
| 141 | /// </summary> | |
| 142 | public static string propertySetTag = "property-set"; | |
| 143 | /// <summary> | |
| 144 | /// Property Set single property tag. | |
| 145 | /// </summary> | |
| 146 | public static string propertySetPropertyTag = "property"; | |
| 147 | /// <summary> | |
| 148 | /// Property Set single property tag name attribute constant. | |
| 149 | /// </summary> | |
| 150 | public static string propertySetPropertyTagNameAttr = "name"; | |
| 151 | /// <summary> | |
| 152 | /// XPercent property tag. | |
| 153 | /// </summary> | |
| 154 | public static string xpercentPropertyTag = "xpercent-property"; | |
| 155 | /// <summary> | |
| 156 | /// XPercent tag max property attribute constant. | |
| 157 | /// </summary> | |
| 158 | public static string xpercentMaxPropertyAttr = "max-property"; | |
| 159 | /// <summary> | |
| 160 | /// XPercent tag show like percent attribute constant. | |
| 161 | /// </summary> | |
| 162 | public static string xpercentShowLikePercentAttr = "show-like-percent"; | |
| 163 | ||
| 164 | #endregion | |
| 165 | ||
| 166 | #region Xml value constants | |
| 167 | ||
| 168 | /// <summary> | |
| 169 | /// Item style hyperlink configuration constant. | |
| 170 | /// </summary> | |
| 171 | public static string itemStyleHyperlinkConst = "hyperlink"; | |
| 172 | ||
| 173 | /// <summary> | |
| 174 | /// Item style none configuration constant. | |
| 175 | /// </summary> | |
| 176 | public static string itemStyleNoneConst = "none"; | |
| 177 | #endregion | |
| 178 | } | |
| 179 | } | |
| 180 |
|
||||||||