001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.jba.cmp;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://jboss.org}created-by" minOccurs="0"/>
035: * <element ref="{http://jboss.org}created-time" minOccurs="0"/>
036: * <element ref="{http://jboss.org}updated-by" minOccurs="0"/>
037: * <element ref="{http://jboss.org}updated-time" minOccurs="0"/>
038: * </sequence>
039: * </restriction>
040: * </complexContent>
041: * </complexType>
042: * </pre>
043: *
044: *
045: */
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="",propOrder={"createdBy","createdTime","updatedBy","updatedTime"})
048: @XmlRootElement(name="audit")
049: public class Audit {
050:
051: @XmlElement(name="created-by")
052: protected CreatedBy createdBy;
053: @XmlElement(name="created-time")
054: protected CreatedTime createdTime;
055: @XmlElement(name="updated-by")
056: protected UpdatedBy updatedBy;
057: @XmlElement(name="updated-time")
058: protected UpdatedTime updatedTime;
059:
060: /**
061: * Gets the value of the createdBy property.
062: *
063: * @return
064: * possible object is
065: * {@link CreatedBy }
066: *
067: */
068: public CreatedBy getCreatedBy() {
069: return createdBy;
070: }
071:
072: /**
073: * Sets the value of the createdBy property.
074: *
075: * @param value
076: * allowed object is
077: * {@link CreatedBy }
078: *
079: */
080: public void setCreatedBy(CreatedBy value) {
081: this .createdBy = value;
082: }
083:
084: /**
085: * Gets the value of the createdTime property.
086: *
087: * @return
088: * possible object is
089: * {@link CreatedTime }
090: *
091: */
092: public CreatedTime getCreatedTime() {
093: return createdTime;
094: }
095:
096: /**
097: * Sets the value of the createdTime property.
098: *
099: * @param value
100: * allowed object is
101: * {@link CreatedTime }
102: *
103: */
104: public void setCreatedTime(CreatedTime value) {
105: this .createdTime = value;
106: }
107:
108: /**
109: * Gets the value of the updatedBy property.
110: *
111: * @return
112: * possible object is
113: * {@link UpdatedBy }
114: *
115: */
116: public UpdatedBy getUpdatedBy() {
117: return updatedBy;
118: }
119:
120: /**
121: * Sets the value of the updatedBy property.
122: *
123: * @param value
124: * allowed object is
125: * {@link UpdatedBy }
126: *
127: */
128: public void setUpdatedBy(UpdatedBy value) {
129: this .updatedBy = value;
130: }
131:
132: /**
133: * Gets the value of the updatedTime property.
134: *
135: * @return
136: * possible object is
137: * {@link UpdatedTime }
138: *
139: */
140: public UpdatedTime getUpdatedTime() {
141: return updatedTime;
142: }
143:
144: /**
145: * Sets the value of the updatedTime property.
146: *
147: * @param value
148: * allowed object is
149: * {@link UpdatedTime }
150: *
151: */
152: public void setUpdatedTime(UpdatedTime value) {
153: this.updatedTime = value;
154: }
155:
156: }
|