Skip to content

Commit bf5e7aa

Browse files
Javier MunizJavier Muniz
authored andcommitted
added description to eventdata class
1 parent c921260 commit bf5e7aa

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

src/com/granicus/xsd/EventData.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public class EventData implements java.io.Serializable {
1515
private java.lang.Integer foreignID;
1616

1717
private java.lang.String name;
18+
19+
private java.lang.String description;
1820

1921
private java.lang.Integer cameraID;
2022

@@ -76,6 +78,7 @@ public EventData(
7678
java.lang.String UID,
7779
java.lang.Integer foreignID,
7880
java.lang.String name,
81+
java.lang.String description,
7982
java.lang.Integer cameraID,
8083
java.lang.Integer folderID,
8184
java.lang.String status,
@@ -106,6 +109,7 @@ public EventData(
106109
this.UID = UID;
107110
this.foreignID = foreignID;
108111
this.name = name;
112+
this.description = description;
109113
this.cameraID = cameraID;
110114
this.folderID = folderID;
111115
this.status = status;
@@ -213,6 +217,26 @@ public java.lang.String getName() {
213217
public void setName(java.lang.String name) {
214218
this.name = name;
215219
}
220+
221+
222+
/**
223+
* Gets the description value for this EventData.
224+
*
225+
* @return description
226+
*/
227+
public java.lang.String getDescription() {
228+
return description;
229+
}
230+
231+
232+
/**
233+
* Sets the name value for this EventData.
234+
*
235+
* @param name
236+
*/
237+
public void setDescription(java.lang.String description) {
238+
this.description = description;
239+
}
216240

217241

218242
/**
@@ -758,6 +782,9 @@ public synchronized boolean equals(java.lang.Object obj) {
758782
((this.name==null && other.getName()==null) ||
759783
(this.name!=null &&
760784
this.name.equals(other.getName()))) &&
785+
((this.description==null && other.getDescription()==null) ||
786+
(this.description!=null &&
787+
this.description.equals(other.getDescription()))) &&
761788
((this.cameraID==null && other.getCameraID()==null) ||
762789
(this.cameraID!=null &&
763790
this.cameraID.equals(other.getCameraID()))) &&
@@ -992,6 +1019,13 @@ public synchronized int hashCode() {
9921019
elemField.setNillable(true);
9931020
typeDesc.addFieldDesc(elemField);
9941021
elemField = new org.apache.axis.description.ElementDesc();
1022+
elemField.setFieldName("description");
1023+
elemField.setXmlName(new javax.xml.namespace.QName("", "Description"));
1024+
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1025+
elemField.setMinOccurs(0);
1026+
elemField.setNillable(true);
1027+
typeDesc.addFieldDesc(elemField);
1028+
elemField = new org.apache.axis.description.ElementDesc();
9951029
elemField.setFieldName("cameraID");
9961030
elemField.setXmlName(new javax.xml.namespace.QName("", "CameraID"));
9971031
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));

0 commit comments

Comments
 (0)