Merge "BUG-704 Remove pax from netconf identity-ref test."
[controller.git] / opendaylight / clustering / test / src / main / java / org / opendaylight / controller / clustering / test / internal / ComplexClass.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.clustering.test.internal;
11
12 import java.io.Serializable;
13
14 public class ComplexClass implements IComplex, Serializable {
15     private static final long serialVersionUID = 1L;
16     private String identity;
17
18     public ComplexClass(String i) {
19         this.identity = i;
20     }
21
22     @Override
23     public String whoAmI() {
24         return ("ComplexClass_" + this.identity);
25     }
26
27     @Override
28     public void IAm(String s) {
29         this.identity = s;
30     }
31 }