2 * Copyright (c) 2016 Wipro Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.mwtn.devicemanager.impl.xml;
11 import javax.xml.bind.annotation.XmlElement;
12 import javax.xml.bind.annotation.XmlRootElement;
14 import org.opendaylight.mwtn.base.internalTypes.InternalDateAndTime;
16 @XmlRootElement(name = "AttributeValueChangedNotification")
17 public class AttributeValueChangedNotificationXml extends MwtNotificationBase implements GetEventType {
19 private static String EVENTTYPE = "AttributeValueChangedNotification";
21 @XmlElement(name = "attributeName")
22 private String attributeName;
24 @XmlElement(name = "newValue")
25 private String newValue;
27 public AttributeValueChangedNotificationXml() {
32 * Normalized notification
33 * @param nodeName name of mountpoint
34 * @param counter of notification
35 * @param timeStamp from ne
36 * @param objectIdRef from ne
37 * @param attributeName from ne
38 * @param newValue from ne
40 public AttributeValueChangedNotificationXml(String nodeName, String counter, InternalDateAndTime timeStamp, String objectIdRef,
41 String attributeName, String newValue) {
42 super(nodeName, counter, timeStamp, objectIdRef);
43 this.attributeName = attributeName;
44 this.newValue = newValue;
47 public String getAttributeName() {
51 public String getNewValue() {
56 public String getEventType() {