1 /* 2 * Copyright (C) 2008 ETH Zurich 3 * 4 * This file is part of Fosstrak (www.fosstrak.org). 5 * 6 * Fosstrak is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License version 2.1, as published by the Free Software Foundation. 9 * 10 * Fosstrak is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with Fosstrak; if not, write to the Free 17 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301 USA 19 */ 20 21 package org.fosstrak.epcis.repository.model; 22 23 import java.util.List; 24 25 /** 26 * A aggregation event as defined in section 7.2.10 of the spec. 27 * 28 * @author Sean Wellington 29 */ 30 public class AggregationEvent extends BaseEvent { 31 32 private String parentId; 33 34 private List<String> childEpcs; 35 36 private Action action; 37 38 public Action getAction() { 39 return action; 40 } 41 42 public void setAction(Action action) { 43 this.action = action; 44 } 45 46 public List<String> getChildEpcs() { 47 return childEpcs; 48 } 49 50 public void setChildEpcs(List<String> childEpcs) { 51 this.childEpcs = childEpcs; 52 } 53 54 public String getParentId() { 55 return parentId; 56 } 57 58 public void setParentId(String parentId) { 59 this.parentId = parentId; 60 } 61 62 }