1 13 14 19 20 package org.ejbca.core.model.hardtoken; 21 22 23 31 public class HardTokenIssuerData implements java.io.Serializable , Comparable { 32 33 36 public HardTokenIssuerData(int hardtokenissuerid, String alias, int admingroupid , HardTokenIssuer hardtokenissuer){ 38 this.hardtokenissuerid=hardtokenissuerid; 39 this.alias=alias; 40 this.admingroupid = admingroupid; 41 this.hardtokenissuer=hardtokenissuer; 42 } 43 44 46 public int getHardTokenIssuerId(){ return this.hardtokenissuerid; } 47 public void setHardTokenIssuerId(int hardtokenissuerid){ this.hardtokenissuerid=hardtokenissuerid; } 48 49 public String getAlias(){ return this.alias; } 50 public void setAlias(String alias){ this.alias=alias; } 51 52 public int getAdminGroupId(){ return this.admingroupid; } 53 public void setAdminGroupId(int admingroupid){ this.admingroupid=admingroupid;} 54 55 public HardTokenIssuer getHardTokenIssuer(){ return this.hardtokenissuer; } 56 public void setHardTokenIssuer(HardTokenIssuer hardtokenissuer){ this.hardtokenissuer=hardtokenissuer; } 57 58 public int compareTo(Object obj) { 59 return this.alias.compareTo( ((HardTokenIssuerData) obj).getAlias()); 60 } 61 62 private int hardtokenissuerid; 64 private String alias; 65 private int admingroupid; 66 private HardTokenIssuer hardtokenissuer; 67 } 68 | Popular Tags |