1 17 package org.alfresco.service.cmr.dictionary; 18 19 import java.util.Locale ; 20 21 import org.alfresco.service.namespace.NamespaceService; 22 import org.alfresco.service.namespace.QName; 23 24 25 30 public interface DataTypeDefinition 31 { 32 public QName ANY = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "any"); 36 public QName TEXT = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "text"); 37 public QName CONTENT = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "content"); 38 public QName INT = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "int"); 39 public QName LONG = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "long"); 40 public QName FLOAT = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "float"); 41 public QName DOUBLE = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "double"); 42 public QName DATE = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "date"); 43 public QName DATETIME = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "datetime"); 44 public QName BOOLEAN = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "boolean"); 45 public QName QNAME = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "qname"); 46 public QName CATEGORY = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "category"); 47 public QName NODE_REF = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "noderef"); 48 public QName PATH = QName.createQName(NamespaceService.DICTIONARY_MODEL_1_0_URI, "path"); 49 50 51 54 public ModelDefinition getModel(); 55 56 59 public QName getName(); 60 61 64 public String getTitle(); 65 66 69 public String getDescription(); 70 71 74 public String getAnalyserClassName(); 75 76 79 public String getAnalyserClassName(Locale locale); 80 81 84 public String getJavaClassName(); 85 86 } 87 | Popular Tags |