package org.opennaas.core.resources.descriptor.network;
import javax.persistence.Basic;
import javax.persistence.Embeddable;
import javax.xml.bind.annotation.XmlAttribute;
@Embeddable
public class LayerId {
@Basic
private String resource;
@XmlAttribute(name = "resource", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
public String getResource() {
return resource;
}
public void setResource(String resource) {
this.resource = resource;
}
@Override
public String toString() {
return "LayerId [resource=" + resource + "]";
}
}