1 19 20 package com.sslexplorer.properties.impl.realms; 21 22 import com.sslexplorer.boot.AbstractPropertyKey; 23 import com.sslexplorer.realms.Realm; 24 25 29 public class RealmKey extends AbstractPropertyKey { 30 31 int realmID; 32 33 39 public RealmKey(String name, int realmID) { 40 super(name, RealmProperties.NAME); 41 this.realmID = realmID; 42 } 43 44 50 public RealmKey(String name, Realm realm) { 51 this(name, realm.getResourceId()); 52 } 53 54 59 public int getRealmID() { 60 return realmID; 61 } 62 63 } 64 | Popular Tags |