Skip to content

Commit

Permalink
added description to eventdata class
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Muniz authored and Javier Muniz committed Dec 6, 2014
1 parent c921260 commit bf5e7aa
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/com/granicus/xsd/EventData.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public class EventData implements java.io.Serializable {
private java.lang.Integer foreignID;

private java.lang.String name;

private java.lang.String description;

private java.lang.Integer cameraID;

Expand Down Expand Up @@ -76,6 +78,7 @@ public EventData(
java.lang.String UID,
java.lang.Integer foreignID,
java.lang.String name,
java.lang.String description,
java.lang.Integer cameraID,
java.lang.Integer folderID,
java.lang.String status,
Expand Down Expand Up @@ -106,6 +109,7 @@ public EventData(
this.UID = UID;
this.foreignID = foreignID;
this.name = name;
this.description = description;
this.cameraID = cameraID;
this.folderID = folderID;
this.status = status;
Expand Down Expand Up @@ -213,6 +217,26 @@ public java.lang.String getName() {
public void setName(java.lang.String name) {
this.name = name;
}


/**
* Gets the description value for this EventData.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}


/**
* Sets the name value for this EventData.
*
* @param name
*/
public void setDescription(java.lang.String description) {
this.description = description;
}


/**
Expand Down Expand Up @@ -758,6 +782,9 @@ public synchronized boolean equals(java.lang.Object obj) {
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.cameraID==null && other.getCameraID()==null) ||
(this.cameraID!=null &&
this.cameraID.equals(other.getCameraID()))) &&
Expand Down Expand Up @@ -992,6 +1019,13 @@ public synchronized int hashCode() {
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("", "Description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cameraID");
elemField.setXmlName(new javax.xml.namespace.QName("", "CameraID"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
Expand Down

0 comments on commit bf5e7aa

Please sign in to comment.