| 1 | |
package org.codeforamerica.open311.facade.data; |
| 2 | |
|
| 3 | |
import java.io.Serializable; |
| 4 | |
import java.util.List; |
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
public class ServiceDefinition implements Serializable { |
| 15 | |
|
| 16 | |
private static final long serialVersionUID = -2002090161736619870L; |
| 17 | |
private String serviceCode; |
| 18 | |
private List<AttributeInfo> attributes; |
| 19 | |
|
| 20 | |
public ServiceDefinition(String serviceCode, List<AttributeInfo> attributes) { |
| 21 | 5 | super(); |
| 22 | 5 | this.serviceCode = serviceCode; |
| 23 | 5 | this.attributes = attributes; |
| 24 | 5 | } |
| 25 | |
|
| 26 | |
public String getServiceCode() { |
| 27 | 5 | return serviceCode; |
| 28 | |
} |
| 29 | |
|
| 30 | |
public List<AttributeInfo> getAttributes() { |
| 31 | 5 | return attributes; |
| 32 | |
} |
| 33 | |
|
| 34 | |
} |