1 18 19 package sync4j.framework.core.bootstrap; 20 21 import java.util.ArrayList ; 22 23 24 32 public final class Characteristic { 33 34 public static final String TYPE_PXLOGICAL = "PXLOGICAL"; 36 public static final String TYPE_PXPHYSICAL = "PXPHYSICAL"; 37 public static final String TYPE_PXAUTHINFO = "PXAUTHINFO"; 38 public static final String TYPE_PORT = "PORT"; 39 public static final String TYPE_NAPDEF = "NAPDEF"; 40 public static final String TYPE_NAPAUTHINFO = "NAPAUTHINFO"; 41 public static final String TYPE_VALIDITY = "VALIDITY"; 42 public static final String TYPE_BOOTSTRAP = "BOOTSTRAP"; 43 public static final String TYPE_CLIENTIDENTITY = "CLIENTIDENTITY"; 44 public static final String TYPE_VENDORCONFIG = "VENDORCONFIG"; 45 public static final String TYPE_APPLICATION = "APPLICATION"; 46 public static final String TYPE_APPADDR = "APPADDR"; 47 public static final String TYPE_APPAUTH = "APPAUTH"; 48 public static final String TYPE_RESOURCE = "RESOURCE"; 49 public static final String TYPE_ACCESS = "ACCESS"; 50 51 52 53 55 private ArrayList childs; 56 57 private String type; 58 59 61 public Characteristic() { 62 childs = new ArrayList (); 63 } 64 65 public Characteristic(String type) { 66 this(); 67 this.type = type; 68 } 69 70 71 75 public void add(Characteristic characteristicToAdd) { 76 childs.add(characteristicToAdd); 77 } 78 79 83 public void add(Parm parmToAdd) { 84 childs.add(parmToAdd); 85 } 86 87 91 public String getType() { 92 return type; 93 } 94 95 99 public void setType(String type) { 100 this.type = type; 101 } 102 103 } | Popular Tags |