1 19 20 package com.sslexplorer.properties.attributes; 21 22 import com.sslexplorer.boot.PropertyClass; 23 import com.sslexplorer.boot.PropertyClassManager; 24 import com.sslexplorer.boot.PropertyDefinition; 25 26 73 public interface AttributeDefinition extends PropertyDefinition { 74 75 78 79 83 public final static int USER_OVERRIDABLE_ATTRIBUTE = 4; 84 85 88 public final static int USER_VIEWABLE_ATTRIBUTE = 5; 89 90 93 public final static int USER_USEABLE_ATTRIBUTE = 6; 94 95 99 public final static int USER_CONFIDENTIAL_ATTRIBUTE = 7; 100 101 104 public static final int UNKNOWN = -1; 105 106 112 public boolean isSystem(); 113 114 120 public void setSystem(boolean system); 121 122 130 public String getLabel(); 131 132 140 public void setLabel(String label); 141 142 149 public String getCategoryLabel(); 150 151 158 public void setCategoryLabel(String categoryLabel); 159 160 168 public String getDescription(); 169 170 177 public void setDescription(String description); 178 179 184 public void setReplaceable(boolean replaceable); 185 186 191 public boolean isReplaceable(); 192 193 198 public void setValidationString(String validationString); 199 200 205 public String getValidationString(); 206 207 208 214 public String formatAttributeValue(Object value); 215 216 222 public Object parseValue(String value); 223 224 230 public void setSortOrder(int sortOrder); 231 232 238 public void setVisibility(int visibility); 239 240 245 public int getVisibility(); 246 247 253 public void setName(String string); 254 255 262 public void setType(int type); 263 264 } 265 | Popular Tags |