1 19 20 package org.netbeans.modules.websvc.wsitconf.ui.security.listmodels; 21 22 public class ServiceProviderElement extends Object { 23 24 private String certAlias; 25 private String tokenType; 26 private String keyType; 27 private String endpoint; 28 29 public ServiceProviderElement(String endpoint, String certAlias, String tokenType, String keyType) { 30 this.certAlias = certAlias; 31 this.tokenType = tokenType; 32 this.keyType = keyType; 33 this.endpoint = endpoint; 34 } 35 36 @Override 37 public String toString() { 38 return getEndpoint() + " (" + getCertAlias() + ")"; 39 } 40 41 public String getCertAlias() { 42 return certAlias; 43 } 44 45 public void setCertAlias(String certAlias) { 46 this.certAlias = certAlias; 47 } 48 49 public String getTokenType() { 50 return tokenType; 51 } 52 53 public void setTokenType(String tokenType) { 54 this.tokenType = tokenType; 55 } 56 57 public String getKeyType() { 58 return keyType; 59 } 60 61 public void setKeyType(String keyType) { 62 this.keyType = keyType; 63 } 64 65 public String getEndpoint() { 66 return endpoint; 67 } 68 69 public void setEndpoint(String endpoint) { 70 this.endpoint = endpoint; 71 } 72 73 } | Popular Tags |