Uses of Class
de.mguennewig.pobjects.metadata.ClassDecl

Packages that use ClassDecl
de.mguennewig.pobjects The package de.mguennewig.pobjects provides an abstraction layer on top of a set of database tables by which table rows can be accessed transparently as Java objects. 
de.mguennewig.pobjects.demo The package de.mguennewig.pobjects.demo prodives a demo application to show the basic usage of the de.mguennewig.pobjects package. 
de.mguennewig.pobjects.event The package provides classes to listen to database changes performed over the PObject library. 
de.mguennewig.pobjects.filesystem This package contains a PObjects Container that uses the file system tree as a database table. 
de.mguennewig.pobjects.jdbc This package contains Container implementations that use a JDBC connection. 
de.mguennewig.pobjects.memdb This package contains a simple non-persistent Container implementation that operates only in memory. 
de.mguennewig.pobjects.metadata This package contains the metadata classes used by the PObject library. 
de.mguennewig.pobjform This package contains the PObjForm library, which support Swing dialogs and HTML forms that use the metadata of the PObjects library. 
de.mguennewig.pobjform.html This package contains the HTML form interface of the PObjForm library. 
de.mguennewig.pobjform.swing This package contains the Swing dialog interface of the PObjForm library. 
de.mguennewig.pobjimport The package de.mguennewig.pobjimport provides the classes for a tool named PObjImport which can be used to import and export data from a persistent object database in a database implementation independent way. 
 

Uses of ClassDecl in de.mguennewig.pobjects
 

Fields in de.mguennewig.pobjects declared as ClassDecl
static ClassDecl Pclass.cdeclPclass
          Contains the metadata used to create this class.
static ClassDecl PclassColumn.cdeclPclassColumn
          Contains the metadata used to create this class.
 

Methods in de.mguennewig.pobjects that return ClassDecl
abstract  ClassDecl PObject.getClassDecl()
           
 ClassDecl PclassColumn.getClassDecl()
          Returns the metadata used to create this class.
 ClassDecl Pclass.getClassDecl()
          Returns the metadata used to create this class.
 ClassDecl Container.getClassDecl(java.lang.String schemaName)
          Returns the meta data definition for the table with the given schema name.
 ClassDecl AbstractContainer.getClassDecl(java.lang.String schemaName)
          Returns the meta data definition for the table with the given schema name.
 ClassDecl AbstractPObjJoin.getElementDecl()
          Returns the ClassDecl instance associated with the set's elements class.
 ClassDecl Pclass.getTableForThis()
          Returns the table declaration of the table described by this instance.
 

Methods in de.mguennewig.pobjects that return types with arguments of type ClassDecl
 java.util.Iterator<ClassDecl> Container.getClassDecls()
          Returns an Iterator over all known class declarations.
 java.util.Iterator<ClassDecl> AbstractContainer.getClassDecls()
          Returns an Iterator over all known class declarations.
 

Methods in de.mguennewig.pobjects with parameters of type ClassDecl
 int Container.deleteAll(ClassDecl te)
          Deletes all entries within the specified table.
 int Container.deleteAll(ClassDecl cl, Column fk, java.lang.Object value)
          Deletes all entries within the specified table whose foreign key fk equals the given value.
 TableRef EvalContext.deref(TableRef tr, ClassDecl cd, boolean isExtension)
           
 TableRef SQLEvalContext.deref(TableRef tr, ClassDecl te, Column c, boolean join)
          
abstract  TableRef EvalContext.deref(TableRef tr, ClassDecl te, Column c, boolean join)
           
static Pclass Pclass.findForTable(Container db, ClassDecl te)
          Finds the Pclass instance for the given table.
static java.lang.String PObject.getKey(ClassDecl te, java.lang.String id)
           
 PObject Container.getObject(ClassDecl te, java.lang.String id)
          Returns a PObject instance for the given table expression without reading any data from the DB.
 PObject AbstractContainer.getObject(ClassDecl te, java.lang.String id)
          Returns a PObject instance for the given table expression without reading any data from the DB.
 boolean PObject.isInstanceOf(ClassDecl table)
          Tests whether this persistent object is an instance of table expression table.
 

Uses of ClassDecl in de.mguennewig.pobjects.demo
 

Fields in de.mguennewig.pobjects.demo declared as ClassDecl
static ClassDecl PClassCurrency.cdeclCurrency
          Contains the metadata used to create this class.
static ClassDecl PClassStock.cdeclStock
          Contains the metadata used to create this class.
static ClassDecl PClassStockExchange.cdeclStockExchange
          Contains the metadata used to create this class.
static ClassDecl PClassTransaction.cdeclTransaction
          Contains the metadata used to create this class.
 

Methods in de.mguennewig.pobjects.demo that return ClassDecl
 ClassDecl PClassTransaction.getClassDecl()
          Returns the metadata used to create this class.
 ClassDecl PClassStockExchange.getClassDecl()
          Returns the metadata used to create this class.
 ClassDecl PClassStock.getClassDecl()
          Returns the metadata used to create this class.
 ClassDecl PClassCurrency.getClassDecl()
          Returns the metadata used to create this class.
 

Uses of ClassDecl in de.mguennewig.pobjects.event
 

Methods in de.mguennewig.pobjects.event with parameters of type ClassDecl
 int ContainerWrapper.deleteAll(ClassDecl cdecl)
          Deletes all entries within the specified table.
 int ContainerWrapper.deleteAll(ClassDecl cl, Column fk, java.lang.Object value)
          Deletes all entries within the specified table whose foreign key fk equals the given value.
 PObject ContainerWrapper.getObject(ClassDecl te, java.lang.String id)
          Returns a PObject instance for the given table expression without reading any data from the DB.
 

Uses of ClassDecl in de.mguennewig.pobjects.filesystem
 

Fields in de.mguennewig.pobjects.filesystem declared as ClassDecl
static ClassDecl FileRecord.CDECL_FILE_RECORD
           
 

Methods in de.mguennewig.pobjects.filesystem that return ClassDecl
 ClassDecl FileRecord.getClassDecl()
           
 

Methods in de.mguennewig.pobjects.filesystem with parameters of type ClassDecl
 int FileSystemContainer.deleteAll(ClassDecl cl)
          Deletes all entries within the specified table.
 int FileSystemContainer.deleteAll(ClassDecl cl, Column fk, java.lang.Object value)
          Deletes all entries within the specified table whose foreign key fk equals the given value.
 

Uses of ClassDecl in de.mguennewig.pobjects.jdbc
 

Methods in de.mguennewig.pobjects.jdbc that return ClassDecl
 ClassDecl JdbcContainer.mapPClassIdToClassDecl(java.lang.String id)
          Maps the given pclass id as used by the DBMS to the correct ClassDecl.
 

Methods in de.mguennewig.pobjects.jdbc with parameters of type ClassDecl
 int JdbcContainer.deleteAll(ClassDecl te)
          Deletes all entries within the specified table.
 int JdbcContainer.deleteAll(ClassDecl cl, Column fk, java.lang.Object value)
          Deletes all entries within the specified table whose foreign key fk equals the given value.
 TableRef MySQLContainer.MySQLEvalContext.deref(TableRef tr, ClassDecl te, Column c, boolean join)
          
 PObject JdbcContainer.getObject(ClassDecl cdecl, java.lang.String id)
          Returns a PObject instance for the given table expression without reading any data from the DB.
 java.lang.String JdbcContainer.mapClassDeclToPClassId(ClassDecl cd)
          Maps the given ClassDecl to the pclass id used in the DBMS.
 

Uses of ClassDecl in de.mguennewig.pobjects.memdb
 

Methods in de.mguennewig.pobjects.memdb with parameters of type ClassDecl
 int MemoryContainer.deleteAll(ClassDecl te)
          Deletes all entries within the specified table.
 int MemoryContainer.deleteAll(ClassDecl te, Column fk, java.lang.Object value)
          Deletes all entries within the specified table whose foreign key fk equals the given value.
 

Uses of ClassDecl in de.mguennewig.pobjects.metadata
 

Methods in de.mguennewig.pobjects.metadata that return ClassDecl
 ClassDecl TypeRef.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl Type.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl ScalarType.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl FileType.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl ClassDecl.getBaseClass()
          If the class is an extension, then this method returns the base class, otherwise null.
 ClassDecl ClassDecl.getBottomClass()
           
 ClassDecl Workflow.getInstanceClass()
           
 ClassDecl Workflow.getStateClass()
           
 ClassDecl RefType.getTargetClass()
          Returns the class declaration of the referenced table.
 ClassDecl ReferenceToClass.getTargetClass()
          Returns the class declaration of the referenced table.
 ClassDecl JoinType.getTargetClass()
          Returns the class declaration of the referenced table.
 ClassDecl ForeignKeyConstraint.getTargetClass()
           
 

Methods in de.mguennewig.pobjects.metadata with parameters of type ClassDecl
 ClassDecl TypeRef.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl Type.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl ScalarType.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 ClassDecl FileType.expand(ClassDecl classDecl, Field field)
          Expands this type to an extra table.
 java.lang.String UniqueConstraint.name(ClassDecl te, int variant)
          Returns different names depending on variant for the code generator.
 java.lang.String PrimaryKeyConstraint.name(ClassDecl cl, int variant)
          Returns different names depending on variant for the code generator.
 java.lang.String ForeignKeyConstraint.name(ClassDecl te, int variant)
          Returns different names depending on variant for the code generator.
abstract  java.lang.String Constraint.name(ClassDecl cd, int variant)
          Returns different names depending on variant for the code generator.
 java.lang.String CheckConstraint.name(ClassDecl te, int variant)
          Returns different names depending on variant for the code generator.
 void StackType.setTargetClass(ClassDecl targetClass)
          Sets the class declaration of the referenced table.
 void SetType.setTargetClass(ClassDecl targetClass)
          Sets the class declaration of the referenced table.
 void RefType.setTargetClass(ClassDecl cl)
          Sets the class declaration of the referenced table.
 void ReferenceToClass.setTargetClass(ClassDecl te)
          Sets the class declaration of the referenced table.
 void NestedSetType.setTargetClass(ClassDecl te)
          Sets the class declaration of the referenced table.
 void MapType.setTargetClass(ClassDecl targetClass)
          Sets the class declaration of the referenced table.
 void JoinType.setTargetClass(ClassDecl targetClass)
          Sets the class declaration of the referenced table.
 

Constructors in de.mguennewig.pobjects.metadata with parameters of type ClassDecl
ClassDecl(java.lang.String name, java.lang.String schemaName, java.lang.String label, IdField idField, ClassDecl baseClass, boolean extensible, Field[] fields, Join[] joins, Constraint[] constraints, Index[] indices, Field visualField)
          Creates a new class declaration.
ForeignKeyConstraint(java.lang.String schemaName, Field[] sourceFields, ClassDecl targetClass, Field[] targetFields, boolean implicit)
          Creates a new ForeignKeyConstraint.
ForeignKeyConstraint(java.lang.String schemaName, Field[] sourceFields, ClassDecl targetClass, Field[] targetFields, int onDelete, int onUpdate, boolean implicit)
          Creates a new ForeignKeyConstraint.
ForeignKeyConstraint(java.lang.String schemaName, Field sourceField, ClassDecl targetClass)
          Creates a new foreign key constraint onto the ID field of the target class.
JoinType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass)
          Initialize join type.
MapType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass)
          Initialize map data.
NestedSetType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass, java.lang.String rightColumnName)
          Initialize a nested set type.
RefType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass)
          Creates a new reference with default actions for ON DELETE and ON UPDATE.
RefType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass, int onDelete)
          Creates a new reference with default action for ON UPDATE.
RefType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass, int onDelete, int onUpdate)
          Creates a new reference.
SetType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass)
          Initialize set data.
StackType(java.lang.String targetModule, java.lang.String targetName, ClassDecl targetClass)
          Initialize stack data.
Workflow(ClassDecl stateClass, ClassDecl instanceClass, Waitstate[] waitstates)
          Creates a new Workflow.
 

Uses of ClassDecl in de.mguennewig.pobjform
 

Methods in de.mguennewig.pobjform with parameters of type ClassDecl
static PObject ReferenceModel.fromString(Container db, ClassDecl cd, java.lang.String v)
          Returns a database object for the given value string.
 void ReferenceModel.setRestriction(ClassDecl[] tableExprs, Predicate[] filters)
           
 void ReferenceElement.setRestriction(ClassDecl[] tableDeclarations, Predicate[] filters)
          Restrict the set of values to an arbitrary subset of the entries of the referenced table.
 

Constructors in de.mguennewig.pobjform with parameters of type ClassDecl
ReferenceModel(ReferenceElement element, ClassDecl[] tableExprs, Predicate[] filters)
           
 

Uses of ClassDecl in de.mguennewig.pobjform.html
 

Methods in de.mguennewig.pobjform.html with parameters of type ClassDecl
 void HtmlReferenceElement.setRestriction(ClassDecl[] tableExprs, Predicate[] filters)
          Restrict the set of values to an arbitrary subset of the entries of the referenced table.
 

Uses of ClassDecl in de.mguennewig.pobjform.swing
 

Methods in de.mguennewig.pobjform.swing with parameters of type ClassDecl
 void SwingReferenceElement.setRestriction(ClassDecl[] tableExprs, Predicate[] filters)
          Restrict the set of values to an arbitrary subset of the entries of the referenced table.
 

Uses of ClassDecl in de.mguennewig.pobjimport
 

Methods in de.mguennewig.pobjimport that return types with arguments of type ClassDecl
static java.util.Collection<ClassDecl> DependencySorter.getDependencies(ClassDecl te)
           
static java.util.Set<ClassDecl> DependencySorter.sortByDependency(Module module, boolean failOnCircle)
          Returns a set of materliazed classes sorted by dependency (base first, subclasses later).
static java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> DependencySorter.sortKeys(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)
           
static java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> DependencySorter.sortKeys(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)
           
 

Methods in de.mguennewig.pobjimport with parameters of type ClassDecl
 int DependencySorter.compare(ClassDecl te1, ClassDecl te2)
           
static java.util.Collection<ClassDecl> DependencySorter.getDependencies(ClassDecl te)
           
 

Method parameters in de.mguennewig.pobjimport with type arguments of type ClassDecl
static java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> DependencySorter.sortKeys(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)
           
static java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> DependencySorter.sortKeys(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)
           
 

Constructor parameters in de.mguennewig.pobjimport with type arguments of type ClassDecl
DependencySorter(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)
           
DependencySorter(java.util.Map<ClassDecl,java.util.Collection<ClassDecl>> tables, boolean failOnCircle)