Android Open Source - city-issue-tracker-android Service






From Project

Back to project page city-issue-tracker-android.

License

The source code is released under:

GNU General Public License

If you think the Android project city-issue-tracker-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package byu.zappala.cityissuetracker.model;
//from  www .j a  v a 2s . c o  m
import java.util.List;

public class Service {
  String serviceCode;
  boolean metadata;
  String type;
  List<String> keywords;
  String group;
  String serviceName;
  String description;
  
  
  public Service(String serviceCode, boolean metadata, String type,
      List<String> keywords, String group, String serviceName,
      String description) {
    this.serviceCode = serviceCode;
    this.metadata = metadata;
    this.type = type;
    this.keywords = keywords;
    this.group = group;
    this.serviceName = serviceName;
    this.description = description;
  }
  
  @Override
  public String toString() {
    return serviceName;
    /*return String.format("Service Code: %s, Metadata: %s, Type: %s, Keywords: %s, "
                   + "Group: %s, Service Name: %s, Description: %s", 
                   serviceCode, metadata, type, keywords.toString(), group, serviceName, description);*/  
  }
  
  
  public String getServiceCode() {
    return serviceCode;
  }
  public void setServiceCode(String serviceCode) {
    this.serviceCode = serviceCode;
  }
  public boolean isMetadata() {
    return metadata;
  }
  public void setMetadata(boolean metadata) {
    this.metadata = metadata;
  }
  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }
  public List<String> getKeywords() {
    return keywords;
  }
  public void setKeywords(List<String> keywords) {
    this.keywords = keywords;
  }
  public String getGroup() {
    return group;
  }
  public void setGroup(String group) {
    this.group = group;
  }
  public String getServiceName() {
    return serviceName;
  }
  public void setServiceName(String serviceName) {
    this.serviceName = serviceName;
  }
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }
  

}




Java Source Code List

byu.zappala.cityissuetracker.ConfigConstants.java
byu.zappala.cityissuetracker.MainActivity.java
byu.zappala.cityissuetracker.ReportIssueActivity.java
byu.zappala.cityissuetracker.ViewIssueActivity.java
byu.zappala.cityissuetracker.ViewIssuesActivity.java
byu.zappala.cityissuetracker.model.ListServiceRequest.java
byu.zappala.cityissuetracker.model.ServiceRequest.java
byu.zappala.cityissuetracker.model.Service.java
byu.zappala.cityissuetracker.utils.ServiceRequestXMLParser.java
byu.zappala.cityissuetracker.utils.ServiceXMLParser.java