2 * Copyright (c) 2014 NEC Corporation
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this
7 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.vtn.app.run.config.rest.response.beans;
11 import org.opendaylight.vtn.app.run.config.json.annotations.JsonObject;
12 import org.opendaylight.vtn.app.run.config.json.annotations.JsonObjectRef;
15 * L4Match - Bean Representaion for L4Match object from the JSON Response.
19 public class L4Match {
22 * Reference attribute for Icmp
24 @JsonObjectRef(name = "icmp")
25 Icmp icmp = new Icmp();
30 public L4Match(Icmp icmp) {
35 * getIcmp - function to get the icmp reference for this object.
39 public Icmp getIcmp() {
44 * setIcmp - function to set the icmp reference for this object.
48 public void setIcmp(Icmp icmp) {
53 * String representation of the object.
57 public String toString() {
58 return "L4Match [icmp = " + icmp + "]";