X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2FProperty.java;h=4af117ccf7243acd11950fbe0cf9f0d9d563fb3f;hb=43767bb962ade9659c8aa7eb0e02d412a7a54db2;hp=97d3eac808845ef7e4c8627414c8ec9e2161898a;hpb=2aa5c39bdd7c498a3b33db434d3943c130e05bc8;p=controller.git diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Property.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Property.java index 97d3eac808..4af117ccf7 100644 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Property.java +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Property.java @@ -10,8 +10,9 @@ package org.opendaylight.controller.sal.core; import java.io.Serializable; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlSeeAlso; /** * @file Property.java @@ -28,11 +29,7 @@ import javax.xml.bind.annotation.XmlSeeAlso; * element */ @XmlRootElement -@XmlSeeAlso({ Config.class, Name.class, State.class, TimeStamp.class, - Latency.class, Bandwidth.class, Tier.class, Actions.class, - AdvertisedBandwidth.class, Buffers.class, Capabilities.class, - MacAddress.class, PeerBandwidth.class, SupportedBandwidth.class, - Tables.class }) +@XmlAccessorType(XmlAccessType.NONE) abstract public class Property implements Serializable, Cloneable { private static final long serialVersionUID = 1L; private final String name; @@ -53,6 +50,8 @@ abstract public class Property implements Serializable, Cloneable { return this.name; } + public abstract String getStringValue(); + /** * Used to copy the Property in a polymorphic way *