001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-hibernate/src/java/org/sakaiproject/tool/assessment/data/dao/assessment/ItemType.java $
003: * $Id: ItemType.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the"License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.tool.assessment.data.dao.assessment;
021:
022: import java.util.Date;
023:
024: public class ItemType {
025: private String itemTypeId;
026: private String authority;
027: private String domain;
028: private String keyword;
029: private String description;
030: private int status;
031: private String createdBy;
032: private Date createdDate;
033: private String lastModifiedBy;
034: private Date lastModifiedDate;
035:
036: public ItemType() {
037: }
038:
039: public ItemType(String authority, String domain, String keyword,
040: String description, int status, String createdBy,
041: Date createdDate, String lastModifiedBy,
042: Date lastModifiedDate) {
043: this .authority = authority;
044: this .domain = domain;
045: this .keyword = keyword;
046: this .description = description;
047: this .status = status;
048: this .createdBy = createdBy;
049: this .createdDate = createdDate;
050: this .lastModifiedBy = lastModifiedBy;
051: this .lastModifiedDate = lastModifiedDate;
052: }
053:
054: /**
055: * Return the itemTypeId from ItemType
056: */
057: public String getItemTypeId() {
058: return this .itemTypeId;
059: }
060:
061: /**
062: * Set the itemTypeID for this ItemType.
063: */
064: public void setItemTypeId(String itemTypeId) {
065: this .itemTypeId = itemTypeId;
066: }
067:
068: public String getAuthority() {
069: return this .authority;
070: }
071:
072: public void setAuthority(String authority) {
073: this .authority = authority;
074: }
075:
076: public String getDomain() {
077: return this .domain;
078: }
079:
080: public void setDomain(String domain) {
081: this .domain = domain;
082: }
083:
084: /**
085: * Return the Name for this ItemType.
086: */
087: public String getKeyword() {
088: return this .keyword;
089: }
090:
091: /**
092: * Set the Name for this ItemType.
093: */
094: public void setKeyword(String keyword) {
095: this .keyword = keyword;
096: }
097:
098: public String getDescription() {
099: return this .description;
100: }
101:
102: public void setDescription(String description) {
103: this .description = description;
104: }
105:
106: /**
107: * Return the status for this ItemType.
108: */
109: public int getStatus() {
110: return this .status;
111: }
112:
113: /**
114: * Set the status for this ItemType.
115: */
116: public void setStatus(int status) {
117: this .status = status;
118: }
119:
120: /**
121: * Return the createdBy for this ItemType.
122: */
123: public String getCreatedBy() {
124: return this .createdBy;
125: }
126:
127: /**
128: * Set the createdBy for this ItemType.
129: */
130: public void setCreatedBy(String createdBy) {
131: this .createdBy = createdBy;
132: }
133:
134: /**
135: * Return the createdDate for this ItemType.
136: */
137: public Date getCreatedDate() {
138: return this .createdDate;
139: }
140:
141: /**
142: * Set the createdDate for this ItemType.
143: */
144: public void setCreatedDate(Date createdDate) {
145: this .createdDate = createdDate;
146: }
147:
148: /**
149: * Return the lastModifiedBy for this ItemType.
150: */
151: public String getLastModifiedBy() {
152: return this .lastModifiedBy;
153: }
154:
155: /**
156: * Set the lastModifiedBy for this ItemType.
157: */
158: public void setLastModifiedBy(String lastModifiedBy) {
159: this .lastModifiedBy = lastModifiedBy;
160: }
161:
162: /**
163: * Return the lastModifiedDate for this ItemType.
164: */
165: public Date getLastModifiedDate() {
166: return this .lastModifiedDate;
167: }
168:
169: /**
170: * Set the lastModifiedDate for this ItemType.
171: */
172: public void setLastModifiedDate(Date lastModifiedDate) {
173: this.lastModifiedDate = lastModifiedDate;
174: }
175:
176: }
|