1 19 20 package org.netbeans.modules.websvc.core.jaxws.bindings.model.impl; 21 22 import java.util.Collection ; 23 import org.netbeans.modules.xml.xam.dom.Attribute; 24 25 29 public enum BindingsAttribute implements Attribute { 30 WSDL_LOCATION("wsdlLocation"), 31 NODE("node"); 32 33 private String name; 34 private Class type; 35 private Class subtype; 36 37 40 BindingsAttribute(String name) { 41 this(name, String .class); 42 } 43 BindingsAttribute(String name, Class type) { 44 this(name, type, null); 45 } 46 BindingsAttribute(String name, Class type, Class subtype) { 47 this.name = name; 48 this.type = type; 49 this.subtype = subtype; 50 } 51 52 public String toString() { return name; } 53 54 public Class getType() { 55 return type; 56 } 57 58 public String getName() { return name; } 59 60 public Class getMemberType() { return subtype; } 61 } 62 | Popular Tags |