Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DocumentAttributeDataType |
|
| 0.0;0 |
1 | /** | |
2 | * Copyright 2005-2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kew.api.document.attribute; | |
17 | ||
18 | import javax.xml.bind.annotation.XmlEnum; | |
19 | import javax.xml.bind.annotation.XmlRootElement; | |
20 | import javax.xml.bind.annotation.XmlType; | |
21 | ||
22 | /** | |
23 | * Defines the valid data types for implementations of the {@link DocumentAttributeContract}. | |
24 | * | |
25 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
26 | */ | |
27 | 0 | @XmlRootElement(name = "documentAttributeDataType") |
28 | @XmlType(name = "DocumentAttributeDataTypeType") | |
29 | @XmlEnum | |
30 | 0 | public enum DocumentAttributeDataType { |
31 | ||
32 | /** | |
33 | * Indicates a document attribute which holds character data. | |
34 | */ | |
35 | 0 | STRING, |
36 | ||
37 | /** | |
38 | * Indicates a document attribute which holds date and (optional) time information. | |
39 | */ | |
40 | 0 | DATE_TIME, |
41 | ||
42 | /** | |
43 | * Indicates a document attribute which holds an integer value. | |
44 | */ | |
45 | 0 | INTEGER, |
46 | ||
47 | /** | |
48 | * Indicates a document attribute which holds a real number. | |
49 | */ | |
50 | 0 | DECIMAL |
51 | ||
52 | } |