1 19 20 package org.netbeans.modules.websvc.wsitmodelext.security.proprietary; 21 22 import org.netbeans.modules.xml.xam.dom.Attribute; 23 24 28 public enum ProprietarySecurityPolicyAttribute implements Attribute { 29 VISIBILITY("visibility"), DEFAULT("default"), ENCRYPTISSUEDKEY("encryptIssuedKey"), ENCRYPTISSUEDTOKEN("encryptIssuedToken"), ENDPOINT("endpoint"), METADATA("metadata"), WSDLLOCATION("wsdlLocation"), SERVICENAME("serviceName"), PORTNAME("portName"), NAMESPACE("namespace"), TIMEOUT("timeout"), REQUIRECANCELSCT("requireCancelSCT"), RENEWEXPIREDSCT("renewExpiredSCT"), LOCATION("location"), ALIAS("alias"), STSALIAS("stsalias"), PEERALIAS("peeralias"), TYPE("type"), KEYPASS("keypass"), STOREPASS("storepass"), NAME("name"), CLASSNAME("classname"); 52 private String name; 53 private Class type; 54 private Class subtype; 55 56 59 ProprietarySecurityPolicyAttribute(String name) { 60 this(name, String .class); 61 } 62 ProprietarySecurityPolicyAttribute(String name, Class type) { 63 this(name, type, null); 64 } 65 ProprietarySecurityPolicyAttribute(String name, Class type, Class subtype) { 66 this.name = name; 67 this.type = type; 68 this.subtype = subtype; 69 } 70 71 @Override 72 public String toString() { return name; } 73 74 public Class getType() { 75 return type; 76 } 77 78 public String getName() { return name; } 79 80 public Class getMemberType() { return subtype; } 81 } 82 | Popular Tags |