1 package org.apache.beehive.wsm.model.jsr181; 2 3 import javax.jws.soap.InitParam; 4 5 22 23 public class InitParamInfo implements java.io.Serializable { 24 25 private static final long serialVersionUID = 1L; 26 27 String name; 28 29 String value; 30 31 34 public InitParamInfo(InitParam a) { 35 super(); 36 initFromAnnotation(a); 37 } 38 39 42 private void initFromAnnotation(InitParam a) { 43 if (null != a) { 44 setName(a.name()); 45 setValue(a.value()); 46 } 47 } 49 50 53 public String getName() { 54 return name; 55 } 56 57 60 public void setName(String name) { 61 this.name = name; 62 } 63 64 67 public String getValue() { 68 return value; 69 } 70 71 74 public void setValue(String value) { 75 this.value = value; 76 } 77 78 } 79 | Popular Tags |