1 18 package org.osgi.service.metatype; 19 20 29 public interface AttributeDefinition { 30 38 public static final int STRING = 1; 39 46 public static final int LONG = 2; 47 54 public static final int INTEGER = 3; 55 62 public static final int SHORT = 4; 63 70 public static final int CHARACTER = 5; 71 78 public static final int BYTE = 6; 79 86 public static final int DOUBLE = 7; 87 94 public static final int FLOAT = 8; 95 104 public static final int BIGINTEGER = 9; 105 114 public static final int BIGDECIMAL = 10; 115 122 public static final int BOOLEAN = 11; 123 124 129 public String getName(); 130 131 149 public String getID(); 150 151 159 public String getDescription(); 160 161 179 public int getCardinality(); 180 181 192 public int getType(); 193 194 218 public String [] getOptionValues(); 219 220 243 public String [] getOptionLabels(); 244 245 261 public String validate(String value); 262 263 278 public String [] getDefaultValue(); 279 } 280 | Popular Tags |