1 20 package org.apache.directory.ldapstudio.apacheds.configuration.model; 21 22 23 29 public class IndexedAttribute 30 { 31 32 private String attributeId; 33 34 35 private int cacheSize; 36 37 38 46 public IndexedAttribute( String attributeId, int cacheSize ) 47 { 48 this.attributeId = attributeId; 49 this.cacheSize = cacheSize; 50 } 51 52 53 59 public String getAttributeId() 60 { 61 return attributeId; 62 } 63 64 65 71 public void setAttributeId( String attributeId ) 72 { 73 this.attributeId = attributeId; 74 } 75 76 77 83 public int getCacheSize() 84 { 85 return cacheSize; 86 } 87 88 89 95 public void setCacheSize( int cacheSize ) 96 { 97 this.cacheSize = cacheSize; 98 } 99 100 101 104 public String toString() 105 { 106 return attributeId + " [" + cacheSize + "]"; 107 } 108 } 109 | Popular Tags |