| Modifier and Type | Class and Description |
|---|---|
class |
ModelVetoException |
| Modifier and Type | Method and Description |
|---|---|
void |
Model.removeFieldElement(PersistenceFieldElement element)
Removes the specified PersistenceFieldElement from its declaring
class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistenceClassElement.addConcurrencyGroup(ConcurrencyGroupElement group)
Add the supplied group to the collection of concurrency groups for this
class.
|
void |
PersistenceClassElement.addConcurrencyGroups(ConcurrencyGroupElement[] groups)
Add the supplied groups to the collection of concurrency groups for
this class.
|
void |
FieldElementHolder.addField(PersistenceFieldElement field)
Add the supplied field to the collection of fields maintained by this
holder.
|
void |
FieldGroupElement.addField(PersistenceFieldElement field)
Add the supplied field to the collection of fields maintained by this
holder.
|
void |
PersistenceClassElement.addField(PersistenceFieldElement field)
Add the supplied field to the collection of fields maintained by this
holder.
|
void |
FieldElementHolder.addFields(PersistenceFieldElement[] fields)
Add the supplied fields to the collection of fields maintained by this
holder.
|
void |
FieldGroupElement.addFields(PersistenceFieldElement[] fields)
Add the supplied fields to the collection of fields maintained by this
holder.
|
void |
PersistenceClassElement.addFields(PersistenceFieldElement[] fields)
Add the supplied fields to the collection of fields maintained by this
holder.
|
void |
PersistenceClassElement.Impl.changeConcurrencyGroups(ConcurrencyGroupElement[] groups,
int action)
Change the set of concurrency groups.
|
void |
FieldGroupElement.Impl.changeFields(PersistenceFieldElement[] fields,
int action)
Change the set of fields.
|
void |
PersistenceClassElement.Impl.changeFields(PersistenceFieldElement[] fields,
int action)
Change the set of fields.
|
void |
RelationshipElement.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship element.
|
void |
RelationshipElement.Impl.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship
element.
|
void |
PersistenceClassElement.removeConcurrencyGroup(ConcurrencyGroupElement group)
Remove the supplied group from the collection of concurrency groups for
this class.
|
void |
PersistenceClassElement.removeConcurrencyGroups(ConcurrencyGroupElement[] groups)
Removed the supplied groups from the collection of concurrency groups
for this class.
|
void |
FieldElementHolder.removeField(PersistenceFieldElement field)
Remove the supplied field from the collection of fields maintained by
this holder.
|
void |
FieldGroupElement.removeField(PersistenceFieldElement field)
Remove the supplied field from the collection of fields maintained by
this holder.
|
void |
PersistenceClassElement.removeField(PersistenceFieldElement field)
Remove the supplied field from the collection of fields maintained by
this holder.
|
void |
FieldElementHolder.removeFields(PersistenceFieldElement[] fields)
Removed the supplied fields from the collection of fields maintained
by this holder.
|
void |
FieldGroupElement.removeFields(PersistenceFieldElement[] fields)
Removed the supplied fields from the collection of fields maintained
by this holder.
|
void |
PersistenceClassElement.removeFields(PersistenceFieldElement[] fields)
Removed the supplied fields from the collection of fields maintained
by this holder.
|
void |
RelationshipElement.setCollectionClass(String collectionClass)
Set the collection class for this relationship element.
|
void |
RelationshipElement.Impl.setCollectionClass(String collectionClass)
Set the collection class for this relationship element.
|
void |
PersistenceClassElement.setConcurrencyGroups(ConcurrencyGroupElement[] groups)
Sets the collection of concurrency groups maintained by this class to
the contents of the supplied array.
|
void |
RelationshipElement.setDeleteAction(int action)
Set the delete action for this relationship element.
|
void |
RelationshipElement.Impl.setDeleteAction(int action)
Set the delete action for this relationship element.
|
void |
RelationshipElement.setElementClass(String elementClass)
Set the element class for this relationship element.
|
void |
RelationshipElement.Impl.setElementClass(String elementClass)
Set the element class for this relationship element.
|
void |
FieldElementHolder.setFields(PersistenceFieldElement[] fields)
Sets the collection of fields maintained by this holder to the contents
of the supplied array.
|
void |
FieldGroupElement.setFields(PersistenceFieldElement[] fields)
Sets the collection of fields maintained by this holder to the contents
of the supplied array.
|
void |
PersistenceClassElement.setFields(PersistenceFieldElement[] fields)
Sets the collection of fields maintained by this holder to the contents
of the supplied array.
|
void |
RelationshipElement.setInverseRelationship(RelationshipElement inverseRelationship,
Model model)
Set the inverse relationship element for this relationship element.
|
void |
PersistenceFieldElement.setKey(boolean flag)
Set whether this field element is a key field or not.
|
void |
PersistenceFieldElement.Impl.setKey(boolean flag)
Set whether this field element is a key field or not.
|
void |
PersistenceClassElement.setKeyClass(String name)
Set the primary key class for this class element.
|
void |
PersistenceClassElement.Impl.setKeyClass(String name)
Set the primary key class for this class element.
|
void |
RelationshipElement.setLowerBound(int lowerBound)
Set the lower cardinality bound for this relationship element.
|
void |
RelationshipElement.Impl.setLowerBound(int lowerBound)
Set the lower cardinality bound for this relationship element.
|
void |
PersistenceElement.setName(String name)
Set the name of this persistence element.
|
void |
PersistenceElement.Impl.setName(String name)
Set the name of this persistence element.
|
void |
PersistenceClassElement.setName(String name)
Set the name of this persistence element.
|
void |
PersistenceClassElement.setObjectIdentityType(int type)
Set the object identity type of this class element.
|
void |
PersistenceClassElement.Impl.setObjectIdentityType(int type)
Set the object identity type of this class element.
|
void |
PersistenceFieldElement.setPersistenceType(int type)
Set the persistence type of this field element.
|
void |
PersistenceFieldElement.Impl.setPersistenceType(int type)
Set the persistence type of this field element.
|
void |
RelationshipElement.setPrefetch(boolean flag)
Set whether this relationship element should prefetch or not.
|
void |
RelationshipElement.Impl.setPrefetch(boolean flag)
Set whether this relationship element should prefetch or not.
|
void |
PersistenceFieldElement.setReadSensitive(boolean flag)
Set whether this field element is read sensitive or not.
|
void |
PersistenceFieldElement.Impl.setReadSensitive(boolean flag)
Set whether this field element is read sensitive or not.
|
void |
RelationshipElement.setUpdateAction(int action)
Set the update action for this relationship element.
|
void |
RelationshipElement.Impl.setUpdateAction(int action)
Set the update action for this relationship element.
|
void |
RelationshipElement.setUpperBound(int upperBound)
Set the upper cardinality bound for this relationship element.
|
void |
RelationshipElement.Impl.setUpperBound(int upperBound)
Set the upper cardinality bound for this relationship element.
|
void |
PersistenceFieldElement.setWriteSensitive(boolean flag)
Set whether this field element is write sensitive or not.
|
void |
PersistenceFieldElement.Impl.setWriteSensitive(boolean flag)
Set whether this field element is write sensitive or not.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistenceClassElementImpl.changeConcurrencyGroups(ConcurrencyGroupElement[] groups,
int action)
Change the set of concurrency groups.
|
void |
PersistenceElementCollection.changeElements(List elements,
int action)
Change the set of elements.
|
void |
PersistenceElementCollection.changeElements(PersistenceElement[] elements,
int action)
Change the set of elements.
|
void |
PersistenceClassElementImpl.changeFields(PersistenceFieldElement[] fields,
int action)
Change the set of fields.
|
void |
FieldGroupElementImpl.changeFields(PersistenceFieldElement[] fields,
int action)
Change the set of fields.
|
void |
RelationshipElementImpl.changeInverseRelationship(RelationshipElement inverseRelationship)
Changes the inverse relationship element for this relationship element.
|
void |
RelationshipElementImpl.setCollectionClass(String collectionClass)
Set the collection class for this relationship element.
|
void |
RelationshipElementImpl.setDeleteAction(int action)
Set the delete action for this relationship element.
|
void |
RelationshipElementImpl.setElementClass(String elementClass)
Set the element class for this relationship element.
|
void |
PersistenceFieldElementImpl.setKey(boolean flag)
Set whether this field element is a key field or not.
|
void |
PersistenceClassElementImpl.setKeyClass(String name)
Set the primary key class for this class element.
|
void |
RelationshipElementImpl.setLowerBound(int lowerBound)
Set the lower cardinality bound for this relationship element.
|
void |
PersistenceElementImpl.setName(String name)
Set the name of this persistence element.
|
void |
PersistenceClassElementImpl.setObjectIdentityType(int type)
Set the object identity type of this class element.
|
void |
PersistenceFieldElementImpl.setPersistenceType(int type)
Set the persistence type of this field element.
|
void |
RelationshipElementImpl.setPrefetch(boolean flag)
Set whether this relationship element should prefetch or not.
|
void |
PersistenceFieldElementImpl.setReadSensitive(boolean flag)
Set whether this field element is read sensitive or not.
|
void |
RelationshipElementImpl.setUpdateAction(int action)
Set the update action for this relationship element.
|
void |
RelationshipElementImpl.setUpperBound(int upperBound)
Set the upper cardinality bound for this relationship element.
|
void |
PersistenceFieldElementImpl.setWriteSensitive(boolean flag)
Set whether this field element is write sensitive or not.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingRelationshipElement.addAssociatedColumn(org.netbeans.modules.dbschema.ColumnPairElement column)
Adds a column to the list of associated columns mapped by this mapping
field.
|
void |
MappingFieldElement.addColumn(org.netbeans.modules.dbschema.DBMemberElement column)
Adds a column to the list of columns mapped by this mapping field.
|
void |
MappingReferenceKeyElement.addColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair)
Add a new column pair to the holder.
|
void |
MappingReferenceKeyElement.addColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Add some new column pairs to the holder.
|
void |
MappingClassElement.addField(MappingFieldElement field)
Adds a field to the list of fields in this mapping class.
|
void |
MappingTableElement.addKeyColumn(org.netbeans.modules.dbschema.ColumnElement column)
Adds a column to the primary key of columns in this mapping table.
|
void |
MappingRelationshipElement.addLocalColumn(org.netbeans.modules.dbschema.ColumnPairElement column)
Adds a column to the list of columns mapped by this mapping field.
|
void |
MappingTableElement.addReferencingKey(MappingReferenceKeyElement referencingKey)
Adds a referencing key to the list of keys in this mapping table.
|
MappingReferenceKeyElement |
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.
|
void |
MappingClassElement.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.
|
void |
MappingClassElement.postUnarchive()
This method is called after a MappingClassElement is unarchived
from a .mapping file.
|
void |
MappingClassElement.preArchive()
This method is called prior to storing a MappingClassElement in a
.mapping file.
|
void |
MappingFieldElement.removeColumn(String columnName)
Removes a column from the list of columns mapped by this mapping field.
|
void |
MappingReferenceKeyElement.removeColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair)
Remove a column pair from the holder.
|
void |
MappingReferenceKeyElement.removeColumnPair(String pairName)
Remove a column pair from the holder.
|
void |
MappingReferenceKeyElement.removeColumnPairs(ArrayList pairNames)
Remove some column pairs from the holder.
|
void |
MappingReferenceKeyElement.removeColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Remove some column pairs from the holder.
|
void |
MappingClassElement.removeField(MappingFieldElement field)
Removes a field from the list of fields in this mapping class.
|
void |
MappingTableElement.removeKeyColumn(String columnName)
Removes a column from the primary key of columns in this mapping table.
|
void |
MappingTableElement.removeReference(MappingTableElement table)
Removes the referencing key for the supplied table element from list
of keys in this mapping table.
|
void |
MappingClassElement.removeTable(MappingTableElement table)
Removes the reference to the supplied table as a mapped table for this
mapping class.
|
void |
MappingReferenceKeyElement.setColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Set the column pairs for this holder.
|
void |
MappingClassElement.setConsistencyLevel(int level)
Set the consistency level of this mapping class.
|
void |
MappingClassElement.setDatabaseRoot(org.netbeans.modules.dbschema.SchemaElement root)
Set the database root for this MappingClassElement.
|
void |
MappingFieldElement.setFetchGroup(int group)
Set the fetch group of this field element.
|
void |
MappingFieldElement.setInConcurrencyCheck(boolean flag)
Set whether this field element is in a concurrency check or not.
|
void |
MappingElement.setName(String name)
Set the name of this mapping element.
|
void |
MappingClassElement.setNavigable(boolean flag)
Set the navigable flag for this mapping class to flag.
|
void |
MappingClassElement.setPrimaryTable(org.netbeans.modules.dbschema.TableElement table)
Set the primary table for this mapping class to the supplied table.
|
void |
MappingFieldElement.setReadOnly(boolean flag)
Set whether this field element is read only or not.
|
void |
MappingReferenceKeyElement.setTable(MappingTableElement table)
Set the mapping table for this referencing key to the supplied table.
|
void |
MappingTableElement.setTable(org.netbeans.modules.dbschema.TableElement table)
Set the table element for this mapping table to the supplied table.
|
void |
MappingFieldElement.setVersion(boolean flag)
Set whether this field element is a version field or not.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingRelationshipElementImpl.addAssociatedColumn(org.netbeans.modules.dbschema.ColumnPairElement column)
Adds a column to the list of associated columns mapped by this mapping
field.
|
void |
MappingFieldElementImpl.addColumn(org.netbeans.modules.dbschema.DBMemberElement column)
Adds a column to the list of columns mapped by this mapping field.
|
void |
MappingRelationshipElementImpl.addColumn(org.netbeans.modules.dbschema.DBMemberElement column)
Adds a column to the list of columns mapped by this mapping
relationship.
|
void |
MappingReferenceKeyElementImpl.addColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair)
Add a new column pair to the holder.
|
void |
MappingReferenceKeyElementImpl.addColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Add some new column pairs to the holder.
|
void |
MappingClassElementImpl.addField(MappingFieldElement field)
Adds a field to the list of fields in this mapping class.
|
void |
MappingTableElementImpl.addKeyColumn(org.netbeans.modules.dbschema.ColumnElement column)
Adds a column to the primary key of columns in this mapping table.
|
protected void |
MappingTableElementImpl.addKeyColumnInternal(org.netbeans.modules.dbschema.ColumnElement column)
Adds a column to the primary key of columns in this mapping table.
|
void |
MappingRelationshipElementImpl.addLocalColumn(org.netbeans.modules.dbschema.ColumnPairElement column)
Adds a column to the list of columns mapped by this mapping field.
|
void |
MappingTableElementImpl.addReferencingKey(MappingReferenceKeyElement referencingKey)
Adds a referencing key to the list of keys in this mapping table.
|
MappingReferenceKeyElement |
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.
|
void |
MappingClassElementImpl.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.
|
void |
MappingClassElementImpl.postUnarchive()
This method is called after a MappingClassElement is unarchived
from a .mapping file.
|
void |
MappingFieldElementImpl.removeColumn(String columnName)
Removes a column from the list of columns mapped by this mapping field.
|
void |
MappingRelationshipElementImpl.removeColumn(String columnName)
Removes a column from the list of columns mapped by this mapping field.
|
void |
MappingReferenceKeyElementImpl.removeColumnPair(org.netbeans.modules.dbschema.ColumnPairElement pair)
Remove a column pair from the holder.
|
void |
MappingReferenceKeyElementImpl.removeColumnPair(String pairName)
Remove a column pair from the holder.
|
void |
MappingReferenceKeyElementImpl.removeColumnPairs(ArrayList pairNames)
Remove some column pairs from the holder.
|
void |
MappingReferenceKeyElementImpl.removeColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Remove some column pairs from the holder.
|
void |
MappingClassElementImpl.removeField(MappingFieldElement field)
Removes a field from the list of fields in this mapping class.
|
void |
MappingTableElementImpl.removeKeyColumn(String columnName)
Removes a column from the primary key of columns in this mapping table.
|
void |
MappingTableElementImpl.removeReference(MappingTableElement table)
Removes the referencing key for the supplied table element from list
of keys in this mapping table.
|
void |
MappingClassElementImpl.removeTable(MappingTableElement table)
Removes the reference to the supplied table as a mapped table for this
mapping class.
|
void |
MappingReferenceKeyElementImpl.setColumnPairs(org.netbeans.modules.dbschema.ColumnPairElement[] pairs)
Set the column pairs for this holder.
|
void |
MappingClassElementImpl.setConsistencyLevel(int level)
Set the consistency level of this mapping class.
|
void |
MappingClassElementImpl.setDatabaseRoot(org.netbeans.modules.dbschema.SchemaElement root)
Set the database root for this MappingClassElement.
|
void |
MappingFieldElementImpl.setFetchGroup(int group)
Set the fetch group of this field element.
|
void |
MappingFieldElementImpl.setInConcurrencyCheck(boolean flag)
Set whether this field element is in a concurrency check or not.
|
void |
MappingReferenceKeyElementImpl.setKeyName(String name)
Set the name of this element.
|
void |
MappingTableElementImpl.setName(String name)
Override method in MappingElementImpl to set the _table variable
if necessary (used for unarchiving).
|
void |
MappingElementImpl.setName(String name)
Set the name of this mapping element.
|
void |
MappingClassElementImpl.setNavigable(boolean flag)
Set the navigable flag for this mapping class to flag.
|
void |
MappingClassElementImpl.setPrimaryTable(org.netbeans.modules.dbschema.TableElement table)
Set the primary table for this mapping class to the supplied table.
|
void |
MappingFieldElementImpl.setReadOnly(boolean flag)
Set whether this field element is read only or not.
|
void |
MappingReferenceKeyElementImpl.setTable(MappingTableElement table)
Set the mapping table for this referencing key to the supplied table.
|
void |
MappingTableElementImpl.setTable(org.netbeans.modules.dbschema.TableElement table)
Set the table element for this mapping table to the supplied table.
|
void |
MappingFieldElementImpl.setVersion(boolean flag)
Set whether this field element is a version field or not.
|
| Constructor and Description |
|---|
MappingReferenceKeyElementImpl(MappingTableElement table)
Creates 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ModelValidationException |
Copyright © 2015. All rights reserved.