package org.opennaas.extensions.quantum.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; /** * * @author Julio Carlos Barrera * */ @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class SubnetRoute extends Route { private String subnet_id; public String getSubnet_id() { return subnet_id; } public void setSubnet_id(String subnet_id) { this.subnet_id = subnet_id; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; SubnetRoute other = (SubnetRoute) obj; if (!subnet_id.equals(other.getSubnet_id())) return false; return true; } }