Uses of Class
com.sun.jdo.api.persistence.model.ModelException
Packages that use ModelException
Package
Description
-
Uses of ModelException in com.sun.jdo.api.persistence.model
Subclasses of ModelException in com.sun.jdo.api.persistence.modelMethods in com.sun.jdo.api.persistence.model that throw ModelExceptionModifier and TypeMethodDescriptionvoidModel.removeFieldElement(PersistenceFieldElement element) Removes the specified PersistenceFieldElement from its declaring class. -
Uses of ModelException in com.sun.jdo.api.persistence.model.jdo
Methods in com.sun.jdo.api.persistence.model.jdo that throw ModelExceptionModifier and TypeMethodDescriptionvoidPersistenceClassElement.addConcurrencyGroup(ConcurrencyGroupElement group) Add the supplied group to the collection of concurrency groups for this class.voidPersistenceClassElement.addConcurrencyGroups(ConcurrencyGroupElement[] groups) Add the supplied groups to the collection of concurrency groups for this class.voidFieldElementHolder.addField(PersistenceFieldElement field) Add the supplied field to the collection of fields maintained by this holder.voidFieldGroupElement.addField(PersistenceFieldElement field) Add the supplied field to the collection of fields maintained by this holder.voidPersistenceClassElement.addField(PersistenceFieldElement field) Add the supplied field to the collection of fields maintained by this holder.voidFieldElementHolder.addFields(PersistenceFieldElement[] fields) Add the supplied fields to the collection of fields maintained by this holder.voidFieldGroupElement.addFields(PersistenceFieldElement[] fields) Add the supplied fields to the collection of fields maintained by this holder.voidPersistenceClassElement.addFields(PersistenceFieldElement[] fields) Add the supplied fields to the collection of fields maintained by this holder.voidPersistenceClassElement.Impl.changeConcurrencyGroups(ConcurrencyGroupElement[] groups, int action) Change the set of concurrency groups.voidFieldGroupElement.Impl.changeFields(PersistenceFieldElement[] fields, int action) Change the set of fields.voidPersistenceClassElement.Impl.changeFields(PersistenceFieldElement[] fields, int action) Change the set of fields.voidRelationshipElement.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element.voidRelationshipElement.Impl.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element.voidPersistenceClassElement.removeConcurrencyGroup(ConcurrencyGroupElement group) Remove the supplied group from the collection of concurrency groups for this class.voidPersistenceClassElement.removeConcurrencyGroups(ConcurrencyGroupElement[] groups) Removed the supplied groups from the collection of concurrency groups for this class.voidFieldElementHolder.removeField(PersistenceFieldElement field) Remove the supplied field from the collection of fields maintained by this holder.voidFieldGroupElement.removeField(PersistenceFieldElement field) Remove the supplied field from the collection of fields maintained by this holder.voidPersistenceClassElement.removeField(PersistenceFieldElement field) Remove the supplied field from the collection of fields maintained by this holder.voidFieldElementHolder.removeFields(PersistenceFieldElement[] fields) Removed the supplied fields from the collection of fields maintained by this holder.voidFieldGroupElement.removeFields(PersistenceFieldElement[] fields) Removed the supplied fields from the collection of fields maintained by this holder.voidPersistenceClassElement.removeFields(PersistenceFieldElement[] fields) Removed the supplied fields from the collection of fields maintained by this holder.voidRelationshipElement.Impl.setCollectionClass(String collectionClass) Set the collection class for this relationship element.voidRelationshipElement.setCollectionClass(String collectionClass) Set the collection class for this relationship element.voidPersistenceClassElement.setConcurrencyGroups(ConcurrencyGroupElement[] groups) Sets the collection of concurrency groups maintained by this class to the contents of the supplied array.voidRelationshipElement.Impl.setDeleteAction(int action) Set the delete action for this relationship element.voidRelationshipElement.setDeleteAction(int action) Set the delete action for this relationship element.voidRelationshipElement.Impl.setElementClass(String elementClass) Set the element class for this relationship element.voidRelationshipElement.setElementClass(String elementClass) Set the element class for this relationship element.voidFieldElementHolder.setFields(PersistenceFieldElement[] fields) Sets the collection of fields maintained by this holder to the contents of the supplied array.voidFieldGroupElement.setFields(PersistenceFieldElement[] fields) Sets the collection of fields maintained by this holder to the contents of the supplied array.voidPersistenceClassElement.setFields(PersistenceFieldElement[] fields) Sets the collection of fields maintained by this holder to the contents of the supplied array.voidRelationshipElement.setInverseRelationship(RelationshipElement inverseRelationship, Model model) Set the inverse relationship element for this relationship element.voidPersistenceFieldElement.Impl.setKey(boolean flag) Set whether this field element is a key field or not.voidPersistenceFieldElement.setKey(boolean flag) Set whether this field element is a key field or not.voidPersistenceClassElement.Impl.setKeyClass(String name) Set the primary key class for this class element.voidPersistenceClassElement.setKeyClass(String name) Set the primary key class for this class element.voidRelationshipElement.Impl.setLowerBound(int lowerBound) Set the lower cardinality bound for this relationship element.voidRelationshipElement.setLowerBound(int lowerBound) Set the lower cardinality bound for this relationship element.voidSet the name of this persistence element.voidSet the name of this persistence element.voidSet the name of this persistence element.voidPersistenceClassElement.Impl.setObjectIdentityType(int type) Set the object identity type of this class element.voidPersistenceClassElement.setObjectIdentityType(int type) Set the object identity type of this class element.voidPersistenceFieldElement.Impl.setPersistenceType(int type) Set the persistence type of this field element.voidPersistenceFieldElement.setPersistenceType(int type) Set the persistence type of this field element.voidRelationshipElement.Impl.setPrefetch(boolean flag) Set whether this relationship element should prefetch or not.voidRelationshipElement.setPrefetch(boolean flag) Set whether this relationship element should prefetch or not.voidPersistenceFieldElement.Impl.setReadSensitive(boolean flag) Set whether this field element is read sensitive or not.voidPersistenceFieldElement.setReadSensitive(boolean flag) Set whether this field element is read sensitive or not.voidRelationshipElement.Impl.setUpdateAction(int action) Set the update action for this relationship element.voidRelationshipElement.setUpdateAction(int action) Set the update action for this relationship element.voidRelationshipElement.Impl.setUpperBound(int upperBound) Set the upper cardinality bound for this relationship element.voidRelationshipElement.setUpperBound(int upperBound) Set the upper cardinality bound for this relationship element.voidPersistenceFieldElement.Impl.setWriteSensitive(boolean flag) Set whether this field element is write sensitive or not.voidPersistenceFieldElement.setWriteSensitive(boolean flag) Set whether this field element is write sensitive or not. -
Uses of ModelException in com.sun.jdo.api.persistence.model.jdo.impl
Methods in com.sun.jdo.api.persistence.model.jdo.impl that throw ModelExceptionModifier and TypeMethodDescriptionvoidPersistenceClassElementImpl.changeConcurrencyGroups(ConcurrencyGroupElement[] groups, int action) Change the set of concurrency groups.voidPersistenceElementCollection.changeElements(PersistenceElement[] elements, int action) Change the set of elements.voidPersistenceElementCollection.changeElements(List elements, int action) Change the set of elements.voidFieldGroupElementImpl.changeFields(PersistenceFieldElement[] fields, int action) Change the set of fields.voidPersistenceClassElementImpl.changeFields(PersistenceFieldElement[] fields, int action) Change the set of fields.voidRelationshipElementImpl.changeInverseRelationship(RelationshipElement inverseRelationship) Changes the inverse relationship element for this relationship element.voidRelationshipElementImpl.setCollectionClass(String collectionClass) Set the collection class for this relationship element.voidRelationshipElementImpl.setDeleteAction(int action) Set the delete action for this relationship element.voidRelationshipElementImpl.setElementClass(String elementClass) Set the element class for this relationship element.voidPersistenceFieldElementImpl.setKey(boolean flag) Set whether this field element is a key field or not.voidPersistenceClassElementImpl.setKeyClass(String name) Set the primary key class for this class element.voidRelationshipElementImpl.setLowerBound(int lowerBound) Set the lower cardinality bound for this relationship element.voidSet the name of this persistence element.voidPersistenceClassElementImpl.setObjectIdentityType(int type) Set the object identity type of this class element.voidPersistenceFieldElementImpl.setPersistenceType(int type) Set the persistence type of this field element.voidRelationshipElementImpl.setPrefetch(boolean flag) Set whether this relationship element should prefetch or not.voidPersistenceFieldElementImpl.setReadSensitive(boolean flag) Set whether this field element is read sensitive or not.voidRelationshipElementImpl.setUpdateAction(int action) Set the update action for this relationship element.voidRelationshipElementImpl.setUpperBound(int upperBound) Set the upper cardinality bound for this relationship element.voidPersistenceFieldElementImpl.setWriteSensitive(boolean flag) Set whether this field element is write sensitive or not. -
Uses of ModelException in com.sun.jdo.api.persistence.model.mapping
Methods in com.sun.jdo.api.persistence.model.mapping that throw ModelExceptionModifier and TypeMethodDescriptionvoidMappingRelationshipElement.addAssociatedColumn(org.netbeans.modules.dbschema.ColumnPairElement column) Adds a column to the list of associated columns mapped by this mapping field.voidMappingFieldElement.addColumn(org.netbeans.modules.dbschema.DBMemberElement column) Adds a column to the list of columns mapped by this mapping field.voidMappingReferenceKeyElement.addColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair) Add a new column pair to the holder.voidMappingReferenceKeyElement.addColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Add some new column pairs to the holder.voidMappingClassElement.addField(MappingFieldElement field) Adds a field to the list of fields in this mapping class.voidMappingTableElement.addKeyColumn(org.netbeans.modules.dbschema.ColumnElement column) Adds a column to the primary key of columns in this mapping table.voidMappingRelationshipElement.addLocalColumn(org.netbeans.modules.dbschema.ColumnPairElement column) Adds a column to the list of columns mapped by this mapping field.voidMappingTableElement.addReferencingKey(MappingReferenceKeyElement referencingKey) Adds a referencing key to the list of keys in this mapping table.MappingClassElement.addSecondaryTable(MappingTableElement parentTable, org.netbeans.modules.dbschema.TableElement table) Adds a reference to the supplied table as a secondary table for this mapping class.voidMappingClassElement.addTable(org.netbeans.modules.dbschema.TableElement table) Convenience method which accepts a table element and attempts to add it as either a primary or secondary table depending on the existing list of tables and the foreign keys for the table.voidMappingClassElement.postUnarchive()This method is called after a MappingClassElement is unarchived from a .mapping file.voidMappingClassElement.preArchive()This method is called prior to storing a MappingClassElement in a .mapping file.voidMappingFieldElement.removeColumn(String columnName) Removes a column from the list of columns mapped by this mapping field.voidMappingReferenceKeyElement.removeColumnPair(String pairName) Remove a column pair from the holder.voidMappingReferenceKeyElement.removeColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair) Remove a column pair from the holder.voidMappingReferenceKeyElement.removeColumnPairs(ArrayList pairNames) Remove some column pairs from the holder.voidMappingReferenceKeyElement.removeColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Remove some column pairs from the holder.voidMappingClassElement.removeField(MappingFieldElement field) Removes a field from the list of fields in this mapping class.voidMappingTableElement.removeKeyColumn(String columnName) Removes a column from the primary key of columns in this mapping table.voidMappingTableElement.removeReference(MappingTableElement table) Removes the referencing key for the supplied table element from list of keys in this mapping table.voidMappingClassElement.removeTable(MappingTableElement table) Removes the reference to the supplied table as a mapped table for this mapping class.voidMappingReferenceKeyElement.setColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Set the column pairs for this holder.voidMappingClassElement.setConsistencyLevel(int level) Set the consistency level of this mapping class.voidMappingClassElement.setDatabaseRoot(org.netbeans.modules.dbschema.SchemaElement root) Set the database root for this MappingClassElement.voidMappingFieldElement.setFetchGroup(int group) Set the fetch group of this field element.voidMappingFieldElement.setInConcurrencyCheck(boolean flag) Set whether this field element is in a concurrency check or not.voidSet the name of this mapping element.voidMappingClassElement.setNavigable(boolean flag) Set the navigable flag for this mapping class to flag.voidMappingClassElement.setPrimaryTable(org.netbeans.modules.dbschema.TableElement table) Set the primary table for this mapping class to the supplied table.voidMappingFieldElement.setReadOnly(boolean flag) Set whether this field element is read only or not.voidMappingReferenceKeyElement.setTable(MappingTableElement table) Set the mapping table for this referencing key to the supplied table.voidMappingTableElement.setTable(org.netbeans.modules.dbschema.TableElement table) Set the table element for this mapping table to the supplied table.voidMappingFieldElement.setVersion(boolean flag) Set whether this field element is a version field or not. -
Uses of ModelException in com.sun.jdo.api.persistence.model.mapping.impl
Methods in com.sun.jdo.api.persistence.model.mapping.impl that throw ModelExceptionModifier and TypeMethodDescriptionvoidMappingRelationshipElementImpl.addAssociatedColumn(org.netbeans.modules.dbschema.ColumnPairElement column) Adds a column to the list of associated columns mapped by this mapping field.voidMappingFieldElementImpl.addColumn(org.netbeans.modules.dbschema.DBMemberElement column) Adds a column to the list of columns mapped by this mapping field.voidMappingRelationshipElementImpl.addColumn(org.netbeans.modules.dbschema.DBMemberElement column) Adds a column to the list of columns mapped by this mapping relationship.voidMappingReferenceKeyElementImpl.addColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair) Add a new column pair to the holder.voidMappingReferenceKeyElementImpl.addColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Add some new column pairs to the holder.voidMappingClassElementImpl.addField(MappingFieldElement field) Adds a field to the list of fields in this mapping class.voidMappingTableElementImpl.addKeyColumn(org.netbeans.modules.dbschema.ColumnElement column) Adds a column to the primary key of columns in this mapping table.protected voidMappingTableElementImpl.addKeyColumnInternal(org.netbeans.modules.dbschema.ColumnElement column) Adds a column to the primary key of columns in this mapping table.voidMappingRelationshipElementImpl.addLocalColumn(org.netbeans.modules.dbschema.ColumnPairElement column) Adds a column to the list of columns mapped by this mapping field.voidMappingTableElementImpl.addReferencingKey(MappingReferenceKeyElement referencingKey) Adds a referencing key to the list of keys in this mapping table.MappingClassElementImpl.addSecondaryTable(MappingTableElement parentTable, org.netbeans.modules.dbschema.TableElement table) Adds a reference to the supplied table as a secondary table for this mapping class.voidMappingClassElementImpl.addTable(org.netbeans.modules.dbschema.TableElement table) Convenience method which accepts a table element and attempts to add it as either a primary or secondary table depending on the existing list of tables and the foreign keys for the table.voidMappingClassElementImpl.postUnarchive()This method is called after a MappingClassElement is unarchived from a .mapping file.voidMappingFieldElementImpl.removeColumn(String columnName) Removes a column from the list of columns mapped by this mapping field.voidMappingRelationshipElementImpl.removeColumn(String columnName) Removes a column from the list of columns mapped by this mapping field.voidMappingReferenceKeyElementImpl.removeColumnPair(String pairName) Remove a column pair from the holder.voidMappingReferenceKeyElementImpl.removeColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair) Remove a column pair from the holder.voidMappingReferenceKeyElementImpl.removeColumnPairs(ArrayList pairNames) Remove some column pairs from the holder.voidMappingReferenceKeyElementImpl.removeColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Remove some column pairs from the holder.voidMappingClassElementImpl.removeField(MappingFieldElement field) Removes a field from the list of fields in this mapping class.voidMappingTableElementImpl.removeKeyColumn(String columnName) Removes a column from the primary key of columns in this mapping table.voidMappingTableElementImpl.removeReference(MappingTableElement table) Removes the referencing key for the supplied table element from list of keys in this mapping table.voidMappingClassElementImpl.removeTable(MappingTableElement table) Removes the reference to the supplied table as a mapped table for this mapping class.voidMappingReferenceKeyElementImpl.setColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs) Set the column pairs for this holder.voidMappingClassElementImpl.setConsistencyLevel(int level) Set the consistency level of this mapping class.voidMappingClassElementImpl.setDatabaseRoot(org.netbeans.modules.dbschema.SchemaElement root) Set the database root for this MappingClassElement.voidMappingFieldElementImpl.setFetchGroup(int group) Set the fetch group of this field element.voidMappingFieldElementImpl.setInConcurrencyCheck(boolean flag) Set whether this field element is in a concurrency check or not.voidMappingReferenceKeyElementImpl.setKeyName(String name) Set the name of this element.voidSet the name of this mapping element.voidOverride method in MappingElementImpl to set the _table variable if necessary (used for unarchiving).voidMappingClassElementImpl.setNavigable(boolean flag) Set the navigable flag for this mapping class to flag.voidMappingClassElementImpl.setPrimaryTable(org.netbeans.modules.dbschema.TableElement table) Set the primary table for this mapping class to the supplied table.voidMappingFieldElementImpl.setReadOnly(boolean flag) Set whether this field element is read only or not.voidMappingReferenceKeyElementImpl.setTable(MappingTableElement table) Set the mapping table for this referencing key to the supplied table.voidMappingTableElementImpl.setTable(org.netbeans.modules.dbschema.TableElement table) Set the table element for this mapping table to the supplied table.voidMappingFieldElementImpl.setVersion(boolean flag) Set whether this field element is a version field or not.Constructors in com.sun.jdo.api.persistence.model.mapping.impl that throw ModelExceptionModifierConstructorDescriptionCreates new MappingReferenceKeyElementImpl with a corresponding mapping table.MappingTableElementImpl(org.netbeans.modules.dbschema.TableElement table, MappingClassElement declaringClass) Creates new MappingTableElementImpl with a corresponding table and declaring class. -
Uses of ModelException in com.sun.jdo.api.persistence.model.util
Subclasses of ModelException in com.sun.jdo.api.persistence.model.util