1 17 package org.alfresco.repo.dictionary; 18 19 20 26 public class M2Property 27 { 28 private String name = null; 29 private String title = null; 30 private String description = null; 31 private String propertyType = null; 32 private boolean isProtected = false; 33 private boolean isMandatory = false; 34 private boolean isMultiValued = false; 35 private String defaultValue = null; 36 private boolean isIndexed = true; 37 private boolean isIndexedAtomically = true; 38 private boolean isStoredInIndex = false; 39 private boolean isTokenisedInIndex = true; 40 41 42 M2Property() 43 { 44 } 45 46 47 M2Property(String name) 48 { 49 this.name = name; 50 } 51 52 53 public String getName() 54 { 55 return name; 56 } 57 58 59 public void setName(String name) 60 { 61 this.name = name; 62 } 63 64 65 public String getTitle() 66 { 67 return title; 68 } 69 70 71 public void setTitle(String title) 72 { 73 this.title = title; 74 } 75 76 77 public String getDescription() 78 { 79 return description; 80 } 81 82 83 public void setDescription(String description) 84 { 85 this.description = description; 86 } 87 88 89 public String getType() 90 { 91 return propertyType; 92 } 93 94 95 public void setType(String type) 96 { 97 this.propertyType = type; 98 } 99 100 101 public boolean isProtected() 102 { 103 return isProtected; 104 } 105 106 107 public void setProtected(boolean isProtected) 108 { 109 this.isProtected = isProtected; 110 } 111 112 113 public boolean isMandatory() 114 { 115 return isMandatory; 116 } 117 118 119 public void setMandatory(boolean isMandatory) 120 { 121 this.isMandatory = isMandatory; 122 } 123 124 125 public boolean isMultiValued() 126 { 127 return isMultiValued; 128 } 129 130 131 public void setMultiValued(boolean isMultiValued) 132 { 133 this.isMultiValued = isMultiValued; 134 } 135 136 137 public String getDefaultValue() 138 { 139 return defaultValue; 140 } 141 142 143 public void setDefaultValue(String defaultValue) 144 { 145 this.defaultValue = defaultValue; 146 } 147 148 149 public boolean isIndexed() 150 { 151 return isIndexed; 152 } 153 154 155 public void setIndexed(boolean isIndexed) 156 { 157 this.isIndexed = isIndexed; 158 } 159 160 161 public boolean isStoredInIndex() 162 { 163 return isStoredInIndex; 164 } 165 166 167 public void setStoredInIndex(boolean isStoredInIndex) 168 { 169 this.isStoredInIndex = isStoredInIndex; 170 } 171 172 173 public boolean isIndexedAtomically() 174 { 175 return isIndexedAtomically; 176 } 177 178 179 public void setIndexedAtomically(boolean isIndexedAtomically) 180 { 181 this.isIndexedAtomically = isIndexedAtomically; 182 } 183 184 185 public boolean isTokenisedInIndex() 186 { 187 return isTokenisedInIndex; 188 } 189 190 191 public void setTokenisedInIndex(boolean isTokenisedInIndex) 192 { 193 this.isTokenisedInIndex = isTokenisedInIndex; 194 } 195 196 } 197 | Popular Tags |