@XmlRootElement(name = "AttributeValueChangedNotification")
public class AttributeValueChangedNotificationXml extends MwtNotificationBase implements GetEventType {
- private static String EVENTTYPE = "AttributeValueChangedNotification";
+ private static String EVENTTYPE = "AttributeValueChangedNotification";
@XmlElement(name = "attributeName")
private String attributeName;
/**
* Normalized notification
+ *
* @param nodeName name of mountpoint
* @param counter of notification
* @param timeStamp from ne
* @param attributeName from ne
* @param newValue from ne
*/
- public AttributeValueChangedNotificationXml(String nodeName, Integer counter, InternalDateAndTime timeStamp, String objectIdRef,
- String attributeName, String newValue) {
+ public AttributeValueChangedNotificationXml(String nodeName, Integer counter, InternalDateAndTime timeStamp,
+ String objectIdRef, String attributeName, String newValue) {
super(nodeName, counter, timeStamp, objectIdRef);
this.attributeName = attributeName;
this.newValue = newValue;
public EventlogEntity getEventlogEntity() {
return new EventlogBuilder().setAttributeName(attributeName).setNewValue(newValue)
- .setCounter(Integer.valueOf(this.getCounter()))
- .setNodeId(this.getNodeName()).setObjectId(this.getObjectId())
- .setTimestamp(new DateAndTime(this.getTimeStamp())).setSourceType(SourceType.Netconf).build();
+ .setCounter(Integer.valueOf(this.getCounter())).setNodeId(this.getNodeName())
+ .setObjectId(this.getObjectId()).setTimestamp(new DateAndTime(this.getTimeStamp()))
+ .setSourceType(SourceType.Netconf).build();
}
}