Uses of Interface
org.makumba.DataDefinition

Packages that use DataDefinition
org.makumba Public API for makumba application programmers. 
org.makumba.commons   
org.makumba.commons.formatters   
org.makumba.controller   
org.makumba.db.hibernate   
org.makumba.db.makumba   
org.makumba.db.makumba.sql The generic SQL-92 implementation of the makumba database layer. 
org.makumba.devel the makumba developer support, such as MDD, JSP and Java viewers. 
org.makumba.forms.html   
org.makumba.forms.responder   
org.makumba.forms.tags   
org.makumba.importer   
org.makumba.list   
org.makumba.list.engine   
org.makumba.list.html   
org.makumba.providers   
org.makumba.providers.datadefinition.makumba Handles abstract part of makumba (data type handling and MDD parsing). 
org.makumba.providers.query.hql   
org.makumba.providers.query.mql   
org.makumba.providers.query.oql   
 

Uses of DataDefinition in org.makumba
 

Methods in org.makumba that return DataDefinition
 DataDefinition ValidationDefinition.getDataDefinition()
          Get the data definition associated with this validation definition.
 DataDefinition FieldDefinition.getDataDefinition()
          The data definition that contains this field definition
static DataDefinition MakumbaSystem.getDataDefinition(String typeName)
          Deprecated. Use DataDefinitionProvider.getDataDefinition(String) instead
 DataDefinition FieldDefinition.getForeignTable()
          The type with which the ptr or set relation is defined.
 DataDefinition DataDefinition.QueryFragmentFunction.getParameters()
           
 DataDefinition FieldDefinition.getPointedType()
          The type referred.
 DataDefinition FieldDefinition.getSubtable()
          The subtype created by an immediate ptr or set definition.
static DataDefinition MakumbaSystem.getTemporaryDataDefinition(String name)
          Deprecated. 
 

Constructors in org.makumba with parameters of type DataDefinition
DataDefinition.QueryFragmentFunction(String name, String sessionVariableName, String queryFragment, DataDefinition parameters, String errorMessage)
           
NoSuchFieldException(DataDefinition dd, String message)
          indicate the missing pointer
 

Uses of DataDefinition in org.makumba.commons
 

Fields in org.makumba.commons declared as DataDefinition
(package private)  DataDefinition NameResolver.Resolvable.dd
           
 

Methods in org.makumba.commons with parameters of type DataDefinition
 NameResolver.TextList NameResolver.TextList.append(DataDefinition dd, String field)
           
 String NameResolver.getTableNameFromConfig(Properties config, DataDefinition dd)
          Finds the shortest possible table name, according to what is defined in the configuration with rule and table: general.Person = gp general.Person->fields will create table _gp__fields_ instead of _general_Person__fields_ as it did before
 String NameResolver.resolveFieldName(DataDefinition dd, String fieldName)
          Resolves the database level name for a field, based on Makumba business rules and specific configuration done by the user.
 String NameResolver.resolveTypeName(DataDefinition dd)
          Resolves the database level name for a type, based on Makumba business rules and specific configuration done by the user.
 

Uses of DataDefinition in org.makumba.commons.formatters
 

Fields in org.makumba.commons.formatters declared as DataDefinition
 DataDefinition RecordFormatter.dd
           
 

Constructors in org.makumba.commons.formatters with parameters of type DataDefinition
RecordFormatter(DataDefinition dd, Hashtable<String,String> names, boolean isSearchForm, Object formIdentifier)
           
 

Uses of DataDefinition in org.makumba.controller
 

Methods in org.makumba.controller with parameters of type DataDefinition
static Set<String> Logic.logoutActor(DataDefinition dd)
           
 

Uses of DataDefinition in org.makumba.db.hibernate
 

Methods in org.makumba.db.hibernate with parameters of type DataDefinition
 void MddToClass.generateClass(DataDefinition dd)
           
 void MddToMapping.generateMapping(DataDefinition dd, org.hibernate.cfg.Configuration cfg)
          Creates an xml file for the given DataDefinition and adds it to the configuration resource
 int HibernateCRUDOperationProvider.update1(Transaction t, Pointer p, DataDefinition dd, Dictionary<String,Object> dic)
           
 

Constructors in org.makumba.db.hibernate with parameters of type DataDefinition
MddToClass(DataDefinition dd, String generationPath)
           
MddToMapping(DataDefinition dd, org.hibernate.cfg.Configuration cfg, String generationPath, String prefix)
           
 

Uses of DataDefinition in org.makumba.db.makumba
 

Fields in org.makumba.db.makumba declared as DataDefinition
protected  DataDefinition Table.dd
           
 

Fields in org.makumba.db.makumba with type parameters of type DataDefinition
(package private)  Hashtable<String,DataDefinition> Table.relatedTables
           
 

Methods in org.makumba.db.makumba that return DataDefinition
 DataDefinition Table.getDataDefinition()
           
 

Methods in org.makumba.db.makumba with parameters of type DataDefinition
(package private)  void Database.configureTable(Table tbl, DataDefinition ri)
           
 String Database.getFieldNameInSource(DataDefinition dd, String field)
           
 Table Database.getTable(DataDefinition ri)
          get the table from this database associated with the given RecordInfo
 String Database.getTypeNameInSource(DataDefinition dd)
           
 Table Database.makePseudoTable(DataDefinition ri)
           
protected  void Table.setDataDefinition(DataDefinition dd)
           
 int MakumbaCRUDOperationProvider.update1(Transaction t, Pointer p, DataDefinition typeDef, Dictionary<String,Object> dic)
           
 

Uses of DataDefinition in org.makumba.db.makumba.sql
 

Methods in org.makumba.db.makumba.sql with parameters of type DataDefinition
(package private)  void Query.analyzeInsertIn(DataDefinition proj, Database db)
           
 String NameResolverHook.resolveFieldName(DataDefinition dd, String field)
           
 String NameResolverHook.resolveTypeName(DataDefinition dd)
           
 

Uses of DataDefinition in org.makumba.devel
 

Methods in org.makumba.devel with parameters of type DataDefinition
static Vector<FieldDefinition>[] DataServlet.extractFields(DataDefinition dd, boolean skipDefaultFields)
          Extracts the fields and sets from a given DataDefinition.
static Vector<FieldDefinition> CodeGenerator.extractSetComplex(DataDefinition dd)
          Extracts all complex sets from a given DataDefinition.
 void CodeGenerator.generateCode(StringBuffer sb, String type, DataDefinition dd, String action, CodeGeneratorTemplate template, String queryLanguage)
          Starts the code generation for the given code type and DataDefinition.
 void CodeGenerator.generateJavaBusinessLogicCode(DataDefinition dd, String packageName, boolean hasSuperLogic, String[] types, StringBuffer sb)
          Starts the business logic code generation for the given DataDefinition.
static String CodeGenerator.getFileNameFromObject(DataDefinition dd, String type)
          Constructs a fitting file name for the given DataDefinition and code generation type
static String CodeGenerator.getLabelNameFromDataDefinition(DataDefinition dd)
          Returns the label name for a given DataDefintion.
static String CodeGenerator.getLogicNameFromDataDefinition(DataDefinition dd)
          Generates a fitting Business Logics name from a given DataDefinition.
 

Uses of DataDefinition in org.makumba.forms.html
 

Constructors in org.makumba.forms.html with parameters of type DataDefinition
RecordEditor(DataDefinition ri, Hashtable<String,String> h, String database, boolean isSearchForm, Object formIdentifier)
           
 

Uses of DataDefinition in org.makumba.forms.responder
 

Fields in org.makumba.forms.responder declared as DataDefinition
(package private)  DataDefinition FormResponder.dd
           
 

Methods in org.makumba.forms.responder with parameters of type DataDefinition
 void Responder.setNewType(DataDefinition dd)
          pass the type on which the new operation is made
 void Responder.setSearchType(DataDefinition dd)
          pass the type on which the new operation is made
 

Uses of DataDefinition in org.makumba.forms.tags
 

Fields in org.makumba.forms.tags declared as DataDefinition
(package private)  DataDefinition SearchTag.in
           
(package private)  DataDefinition NewTag.type
           
 

Methods in org.makumba.forms.tags that return DataDefinition
 DataDefinition AddTag.getDataTypeAtAnalysis(PageCache pageCache)
          Tries to figure out the type of the object to which we want to add some data
 DataDefinition NewTag.getDataTypeAtAnalysis(PageCache pageCache)
           
 DataDefinition SearchTag.getDataTypeAtAnalysis(PageCache pageCache)
           
 DataDefinition FormTagBase.getDataTypeAtAnalysis(PageCache pageCache)
          The basic data type inside the form. null for generic forms
 DataDefinition EditTag.getDataTypeAtAnalysis(PageCache pageCache)
           
 

Uses of DataDefinition in org.makumba.importer
 

Fields in org.makumba.importer declared as DataDefinition
protected  DataDefinition ObjectImporter.dd
           
(package private)  DataDefinition ObjectToRecord.type
           
 

Constructors in org.makumba.importer with parameters of type DataDefinition
HtmlTableImporter(Transaction db, DataDefinition type, Reader r, String tableStartTag, String[] fieldOrder)
           
ObjectImporter(DataDefinition type)
           
ObjectImporter(DataDefinition type, boolean noMarkers)
           
 

Uses of DataDefinition in org.makumba.list
 

Methods in org.makumba.list that return DataDefinition
 DataDefinition ListFormDataProvider.getBasePointerType(AnalysableTag tag, PageCache pageCache, String baseObject)
           
 

Methods in org.makumba.list with parameters of type DataDefinition
 FieldDefinition ListFormDataProvider.getInputTypeAtAnalysis(AnalysableTag tag, DataDefinition dd, String fieldName, PageCache pageCache)
           
 

Uses of DataDefinition in org.makumba.list.engine
 

Methods in org.makumba.list.engine that return DataDefinition
 DataDefinition ComposedQuery.getLabelType(String s)
          Gets the type of a given label
 DataDefinition ComposedQuery.getProjectionTypes()
          Gets the type of the fields between SELECT and FROM
 DataDefinition ComposedQuery.getResultType()
          Gets the type of the result
 

Methods in org.makumba.list.engine that return types with arguments of type DataDefinition
 Map<String,DataDefinition> ComposedQuery.getFromLabelTypes()
          Gets the types of the labels in the FROM section
 

Uses of DataDefinition in org.makumba.list.html
 

Constructors in org.makumba.list.html with parameters of type DataDefinition
RecordViewer(DataDefinition ri, Hashtable<String,String> h)
           
 

Uses of DataDefinition in org.makumba.providers
 

Methods in org.makumba.providers that return DataDefinition
protected  DataDefinition CRUDOperationProvider.checkUpdate(String type, Dictionary<String,Object> fieldsToCheck, Dictionary<String,Object> fieldsToIgnore)
           
 DataDefinition FormDataProvider.getBasePointerType(AnalysableTag tag, PageCache pageCache, String baseObject)
          Gives the type corresponding to the base object of a tag, based on its name
 DataDefinition DataDefinitionProvider.getDataDefinition(String typeName)
           
 DataDefinition DataDefinitionProviderInterface.getDataDefinition(String typeName)
          Gets the data definition defined by the given type.
 DataDefinition QueryAnalysis.getLabelType(String labelName)
          Gets the type of a label used within the query FIXME: remove, inline everywhere as getLabelTypes().get(labelName) for that to work, OQL and MQL need to put their aliases also in the Map returned by getLabelTypes() HQL does not support aliases in the first place
 DataDefinition QueryAnalysis.getParameterTypes()
          Gets the types of the query parameters, as resulted from the query analysis.
 DataDefinition QueryAnalysis.getProjectionType()
          Gets the type of the fields between SELECT and FROM
 DataDefinition DataDefinitionProvider.getVirtualDataDefinition(String name)
           
 DataDefinition DataDefinitionProviderInterface.getVirtualDataDefinition(String name)
          Gets a virtual data definition
 

Methods in org.makumba.providers that return types with arguments of type DataDefinition
 Map<String,DataDefinition> QueryAnalysis.getLabelTypes()
          Gets the type of the fields between FROM and WHERE
 

Methods in org.makumba.providers with parameters of type DataDefinition
abstract  FieldDefinition QueryAnalysisProvider.getAlternativeField(DataDefinition dd, String fn)
          Returns a possible alternative field to the one indicated.
static FieldDefinition DataDefinitionProvider.getFieldDefinition(DataDefinition dd, String fieldName, String lineWithDefinition)
          This method finds a field definition with the given name within the given data definition.
 FieldDefinition FormDataProvider.getInputTypeAtAnalysis(AnalysableTag tag, DataDefinition dd, String fieldName, PageCache pageCache)
          Gets the type of an input tag
abstract  int CRUDOperationProvider.update1(Transaction t, Pointer p, DataDefinition typeDef, Dictionary<String,Object> dic)
           
 

Uses of DataDefinition in org.makumba.providers.datadefinition.makumba
 

Classes in org.makumba.providers.datadefinition.makumba that implement DataDefinition
 class FileRecordInfo
          A DataDefinition for storing files.
 class RecordInfo
          This is the internal representation of the org.makumba.
 

Fields in org.makumba.providers.datadefinition.makumba declared as DataDefinition
(package private)  DataDefinition FieldInfo.dd
           
 

Fields in org.makumba.providers.datadefinition.makumba with type parameters of type DataDefinition
(package private)  HashMap<String,DataDefinition> RecordParser.setParser_settbls
           
 

Methods in org.makumba.providers.datadefinition.makumba that return DataDefinition
 DataDefinition FieldInfo.get_ptrIndex_PointedType()
           
 DataDefinition FieldInfo.get_ptrOne_PointedType()
           
 DataDefinition FieldInfo.get_ptrOne_Subtable()
           
 DataDefinition FieldInfo.get_ptrRel_ForeignTable()
           
 DataDefinition FieldInfo.get_ptrRel_PointedType()
           
 DataDefinition FieldInfo.get_set_ForeignTable()
           
 DataDefinition FieldInfo.get_set_Subtable()
           
 DataDefinition RecordInfo.getDataDefinition()
           
 DataDefinition FieldInfo.getDataDefinition()
           
 DataDefinition MakumbaDataDefinitionFactory.getDataDefinition(String typeName)
           
 DataDefinition FieldInfo.getForeignTable()
          works only for ptr, ptrRel and set types
 DataDefinition FieldInfo.getPointedType()
          works only for all pointer and set types
static DataDefinition RecordInfo.getRecordInfo(String name)
          returns the record info with the given absolute name
static DataDefinition RecordInfo.getSimpleRecordInfo(String path)
           
 DataDefinition FieldInfo.getSubtable()
          works only for ptrOne, set, setComplex, setcharEnum and setintEnum types
 DataDefinition MakumbaDataDefinitionFactory.getVirtualDataDefinition(String name)
           
(package private)  DataDefinition FieldCursor.lookupTableSpecifier()
          looks for a table specifier in the form tablename
(package private)  DataDefinition RecordParser.parse(URL u, String path)
           
 

Methods in org.makumba.providers.datadefinition.makumba with parameters of type DataDefinition
(package private)  String RecordParser.addPtr(String fieldName, String name, DataDefinition o)
           
 

Constructors in org.makumba.providers.datadefinition.makumba with parameters of type DataDefinition
FieldInfo(DataDefinition ri, String name)
           
 

Uses of DataDefinition in org.makumba.providers.query.hql
 

Methods in org.makumba.providers.query.hql that return DataDefinition
 DataDefinition HqlAnalyzer.getLabelType(String labelName)
           
 DataDefinition HqlAnalyzer.getParameterTypes()
           
 DataDefinition HqlAnalyzer.getProjectionType()
           
 

Methods in org.makumba.providers.query.hql that return types with arguments of type DataDefinition
 Map<String,DataDefinition> HqlAnalyzer.getLabelTypes()
           
 

Methods in org.makumba.providers.query.hql with parameters of type DataDefinition
 FieldDefinition HQLQueryAnalysisProvider.getAlternativeField(DataDefinition dd, String fn)
           
 

Uses of DataDefinition in org.makumba.providers.query.mql
 

Fields in org.makumba.providers.query.mql declared as DataDefinition
(package private)  DataDefinition MqlSqlWalker.paramInfo
           
 

Fields in org.makumba.providers.query.mql with type parameters of type DataDefinition
(package private)  Hashtable<String,DataDefinition> QueryContext.fromLabels
          labels explicitly defined in OQL FROM
(package private)  Hashtable<String,DataDefinition> QueryContext.labels
          associate each label to its makumba type
 

Methods in org.makumba.providers.query.mql that return DataDefinition
(package private)  DataDefinition QueryContext.findLabelType(String label)
           
 DataDefinition MqlQueryAnalysis.getLabelType(String labelName)
           
 DataDefinition MqlQueryAnalysis.getParameterTypes()
           
 DataDefinition MqlQueryAnalysis.getProjectionType()
           
(package private)  DataDefinition QueryContext.getTableName(String label)
          return the database-level name of the type of the given label
 DataDefinition MqlQueryAnalysis.getTypeOfExprField(String expr)
           
 

Methods in org.makumba.providers.query.mql that return types with arguments of type DataDefinition
 Map<String,DataDefinition> MqlQueryAnalysis.getLabelTypes()
           
 

Methods in org.makumba.providers.query.mql with parameters of type DataDefinition
(package private)  String QueryContext.addJoin(String l1, String f1, String name, String f2, DataDefinition type, int joinType, antlr.collections.AST location)
          make a new join with the name and associate the label with the type
 FieldDefinition MqlQueryAnalysisProvider.getAlternativeField(DataDefinition dd, String fn)
           
(package private)  void MqlSqlWalker.setProjectionTypes(DataDefinition proj)
           
 

Constructors in org.makumba.providers.query.mql with parameters of type DataDefinition
MqlSqlWalker(String query, DataDefinition paramInfo, boolean optimizeJoins, boolean autoLeftJoin)
           
 

Uses of DataDefinition in org.makumba.providers.query.oql
 

Fields in org.makumba.providers.query.oql declared as DataDefinition
(package private)  DataDefinition QueryAST.paramInfo
          the parameter types
(package private)  DataDefinition QueryAST.resultInfo
          the type of the returned result
 

Fields in org.makumba.providers.query.oql with type parameters of type DataDefinition
(package private)  Hashtable<String,DataDefinition> QueryAST.fromLabels
          labels explicitly defined in OQL FROM
(package private)  Hashtable<String,DataDefinition> QueryAST.labels
          associate each label to its makumba type
 

Methods in org.makumba.providers.query.oql that return DataDefinition
 DataDefinition QueryAST.getLabelType(String s)
          get the type of the returned result
 DataDefinition QueryAST.getParameterTypes()
           
 DataDefinition QueryAST.getProjectionType()
          get the type of the returned result
 DataDefinition QueryAST.getTypeOfExprField(String expr)
           
 

Methods in org.makumba.providers.query.oql that return types with arguments of type DataDefinition
 Map<String,DataDefinition> QueryAST.getLabelTypes()
           
 

Methods in org.makumba.providers.query.oql with parameters of type DataDefinition
(package private)  String QueryAST.addJoin(String l1, String f1, String name, String f2, DataDefinition type, boolean leftJoin)
          make a new join with the name and associate teh label with the type
 FieldDefinition OQLQueryAnalysisProvider.getAlternativeField(DataDefinition dd, String fn)