Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / impl / src / main / java / org / opendaylight / mwtn / devicemanager / impl / xml / ObjectCreationNotificationXml.java
1 /*
2 * Copyright (c) 2016 Wipro Ltd. and others. All rights reserved.
3 *
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
7 */
8
9 package org.opendaylight.mwtn.devicemanager.impl.xml;
10
11 import javax.xml.bind.annotation.XmlRootElement;
12
13 import org.opendaylight.mwtn.base.internalTypes.InternalDateAndTime;
14
15 @XmlRootElement(name = "ObjectCreationNotification")
16 public class ObjectCreationNotificationXml extends MwtNotificationBase implements GetEventType {
17
18     private static String EVENTTYPE =  "ObjectCreationNotification";
19
20     public ObjectCreationNotificationXml() {
21
22     }
23
24     /**
25      * Normalized notification
26      * @param nodeName name of mountpoint or instance that owns the problem
27      * @param counter of notification
28      * @param timeStamp from ne
29      * @param objectIdRef from ne
30      */
31     public ObjectCreationNotificationXml(String nodeName, String counter, InternalDateAndTime timeStamp, String objectIdRef) {
32         super(nodeName, counter, timeStamp,  objectIdRef);
33     }
34
35     /*public ObjectCreationNotificationXml(String nodeName, org.opendaylight.yang.gen.v1.uri.onf.microwavemodel.notifications.rev160809.ObjectCreationNotification notification) {
36         super(nodeName, notification.getCounter().toString(), InternalDateAndTime.valueOf(notification.getTimeStamp()),
37                 notification.getObjectIdRef().getValue());
38     }
39
40     public ObjectCreationNotificationXml(String nodeName, org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.microwave.model.rev170324.ObjectCreationNotification notification) {
41         super(nodeName, notification.getCounter().toString(), InternalDateAndTime.valueOf(notification.getTimeStamp()),
42                 notification.getObjectIdRef().getValue());
43     }*/
44
45     @Override
46     public String getEventType() {
47         return EVENTTYPE;
48     }
49
50 }