org.eclipse.jpt.utility.model
Interface Model

All Known Subinterfaces:
Access2_0Annotation, AccessHolder, Annotation, AssociationOverride, AssociationOverride2_0Annotation, AssociationOverrideAnnotation, AssociationOverrideContainer, AssociationOverrideRelationshipReference, AssociationOverrideRelationshipReference2_0, AssociationOverridesAnnotation, AttributeMapping, AttributeMapping2_0, AttributeOverride, AttributeOverride2_0, AttributeOverrideAnnotation, AttributeOverrideContainer, AttributeOverridesAnnotation, BaseColumn, BaseColumnAnnotation, BaseEclipseLinkTypeConverterAnnotation, BaseEmbeddedMapping, BaseJoinColumn, BaseJoinColumnAnnotation, BaseNamedQueryAnnotation, BaseOverride, BaseTableAnnotation, BasicAnnotation, BasicMapping, Cacheable2_0, Cacheable2_0Annotation, CacheableHolder2_0, Caching, Cascade, Cascade2_0, ClassRef, CollectionMapping, CollectionMapping2_0, CollectionTable2_0, CollectionTable2_0Annotation, CollectionValueModel<E>, Column, ColumnAnnotation, ColumnMapping, Connection, Connection2_0, ContainerAnnotation<T>, Converter, Customization, DerivedIdentity2_0, DerivedIdentityStrategy2_0, DiscriminatorColumn, DiscriminatorColumnAnnotation, DiscriminatorValueAnnotation, EclipseLinkBasicCollectionAnnotation, EclipseLinkBasicCollectionMapping, EclipseLinkBasicMapAnnotation, EclipseLinkBasicMapMapping, EclipseLinkBasicMapping, EclipseLinkCacheAnnotation, EclipseLinkCaching, EclipseLinkChangeTracking, EclipseLinkChangeTrackingAnnotation, EclipseLinkClassExtractorAnnotation2_1, EclipseLinkConversionValue, EclipseLinkConversionValueAnnotation, EclipseLinkConvert, EclipseLinkConvertAnnotation, EclipseLinkConverter, EclipseLinkConverterAnnotation, EclipseLinkConverterHolder, EclipseLinkCustomConverter, EclipseLinkCustomizer, EclipseLinkCustomizerAnnotation, EclipseLinkElementCollectionMapping2_0, EclipseLinkEmbeddable, EclipseLinkEntity, EclipseLinkEntityMappings, EclipseLinkExistenceCheckingAnnotation, EclipseLinkExpiryTimeOfDay, EclipseLinkIdMapping, EclipseLinkJoinFetch, EclipseLinkJoinFetchAnnotation, EclipseLinkJpaProject, EclipseLinkMappedSuperclass, EclipseLinkMutable, EclipseLinkMutableAnnotation, EclipseLinkNamedConverterAnnotation, EclipseLinkObjectTypeConverter, EclipseLinkObjectTypeConverterAnnotation, EclipseLinkOneToManyMapping, EclipseLinkOneToManyMapping2_0, EclipseLinkOneToManyRelationshipReference, EclipseLinkOneToManyRelationshipReference2_0, EclipseLinkOneToOneMapping, EclipseLinkOneToOneMapping2_0, EclipseLinkPrimaryKeyAnnotation, EclipseLinkPrivateOwned, EclipseLinkPrivateOwnedAnnotation, EclipseLinkReadOnly, EclipseLinkReadOnlyAnnotation, EclipseLinkReadTransformerAnnotation, EclipseLinkRelationshipMapping, EclipseLinkStructConverter, EclipseLinkStructConverterAnnotation, EclipseLinkTimeOfDayAnnotation, EclipseLinkTransformationAnnotation, EclipseLinkTransformationMapping, EclipseLinkTransformerAnnotation, EclipseLinkTypeConverter, EclipseLinkTypeConverterAnnotation, EclipseLinkTypeMapping, EclipseLinkVariableOneToOneAnnotation, EclipseLinkVariableOneToOneMapping, EclipseLinkVersionMapping, EclipseLinkWriteTransformerAnnotation, ElementCollection2_0Annotation, ElementCollectionMapping2_0, Embeddable, EmbeddableAnnotation, EmbeddedAnnotation, EmbeddedIdAnnotation, EmbeddedIdMapping, EmbeddedIdMapping2_0, EmbeddedMapping, EmbeddedMapping2_0, Entity, EntityAnnotation, EntityMappings, EnumeratedAnnotation, EnumeratedConverter, Fetchable, GeneralProperties, GeneratedAnnotation, GeneratedValue, GeneratedValueAnnotation, Generator, GeneratorAnnotation, GeneratorContainer, IdAnnotation, IdClassAnnotation, IdClassReference, IdDerivedIdentityStrategy2_0, IdMapping, IdMapping2_0, InheritanceAnnotation, JarFile, JarFileRef, JavaAssociationOverride, JavaAssociationOverrideContainer, JavaAssociationOverrideRelationshipReference, JavaAssociationOverrideRelationshipReference2_0, JavaAttributeMapping, JavaAttributeOverride, JavaAttributeOverrideContainer, JavaBaseColumn, JavaBaseEmbeddedMapping, JavaBaseJoinColumn, JavaBasicMapping, JavaCacheable2_0, JavaCacheableHolder2_0, JavaCascade, JavaCascade2_0, JavaCollectionMapping2_0, JavaCollectionTable2_0, JavaColumn, JavaColumnMapping, JavaConverter, JavaDerivedIdentity2_0, JavaDiscriminatorColumn, JavaEclipseLinkCaching, JavaEclipseLinkConverterHolder, JavaEclipseLinkEmbeddable, JavaEclipseLinkEntity, JavaEclipseLinkMappedSuperclass, JavaElementCollectionMapping2_0, JavaEmbeddable, JavaEmbeddedIdMapping, JavaEmbeddedMapping, JavaEmbeddedMapping2_0, JavaEntity, JavaEnumeratedConverter, JavaGeneratedValue, JavaGenerator, JavaGeneratorContainer, JavaIdClassReference, JavaIdDerivedIdentityStrategy2_0, JavaIdMapping, JavaJoinColumn, JavaJoinColumnEnabledRelationshipReference, JavaJoinColumnInAssociationOverrideJoiningStrategy, JavaJoinColumnJoiningStrategy, JavaJoiningStrategy, JavaJoinTable, JavaJoinTableEnabledRelationshipReference, JavaJoinTableInAssociationOverrideJoiningStrategy2_0, JavaJoinTableJoiningStrategy, JavaJpaContextNode, JavaLobConverter, JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToManyRelationshipReference, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaManyToOneRelationshipReference, JavaManyToOneRelationshipReference2_0, JavaMappedByJoiningStrategy, JavaMappedSuperclass, JavaMapsIdDerivedIdentityStrategy2_0, JavaMultiRelationshipMapping, JavaNamedColumn, JavaNamedNativeQuery, JavaNamedQuery, JavaNamedQuery2_0, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToManyRelationshipReference, JavaOneToManyRelationshipReference2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaOneToOneRelationshipReference, JavaOneToOneRelationshipReference2_0, JavaOrderable, JavaOrderable2_0, JavaOrderColumn2_0, JavaOrphanRemovable2_0, JavaOrphanRemovalHolder2_0, JavaOverride, JavaOverrideContainer, JavaOwnableRelationshipReference, JavaPersistentAttribute, JavaPersistentAttribute2_0, JavaPersistentType, JavaPersistentType2_0, JavaPrimaryKeyJoinColumn, JavaPrimaryKeyJoinColumnEnabledRelationshipReference, JavaPrimaryKeyJoinColumnJoiningStrategy, JavaQuery, JavaQueryContainer, JavaQueryHint, JavaReferenceTable, JavaRelationshipMapping, JavaRelationshipMapping2_0, JavaRelationshipReference, JavaResourceClassFile, JavaResourceCompilationUnit, JavaResourceNode, JavaResourceNode.Root, JavaResourcePackageFragment, JavaResourcePackageFragmentRoot, JavaResourcePersistentAttribute, JavaResourcePersistentMember, JavaResourcePersistentType, JavaResourcePersistentType2_0, JavaResourcePersistentTypeCache, JavaSecondaryTable, JavaSequenceGenerator, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0, JavaTable, JavaTableGenerator, JavaTemporalConverter, JavaTransientMapping, JavaTypeMapping, JavaUniqueConstraint, JavaVersionMapping, JoinColumn, JoinColumnAnnotation, JoinColumnEnabledRelationshipReference, JoinColumnJoiningStrategy, JoinColumnsAnnotation, JoiningStrategy, JoinTable, JoinTableAnnotation, JoinTableEnabledRelationshipReference, JoinTableJoiningStrategy, JpaConnection2_0, JpaContextNode, JpaDataSource, JpaFile, JpaNode, JpaOptions2_0, JpaProject, JpaProject2_0, JpaProjectManager, JpaRootContextNode, JpaRootContextNode2_0, JpaStructureNode, ListValueModel<E>, LobAnnotation, LobConverter, Logging, Logging2_0, ManyToMany2_0Annotation, ManyToManyAnnotation, ManyToManyMapping, ManyToManyMapping2_0, ManyToManyRelationshipReference, ManyToOne2_0Annotation, ManyToOneAnnotation, ManyToOneMapping, ManyToOneMapping2_0, ManyToOneRelationshipReference, ManyToOneRelationshipReference2_0, MapKeyAnnotation, MapKeyClass2_0Annotation, MapKeyColumn2_0Annotation, MapKeyEnumerated2_0Annotation, MapKeyJoinColumn2_0Annotation, MapKeyJoinColumns2_0Annotation, MapKeyTemporal2_0Annotation, MappedByJoiningStrategy, MappedSuperclass, MappedSuperclassAnnotation, MappingFile, MappingFileRef, MappingFileRoot, MapsId2_0Annotation, MapsIdDerivedIdentityStrategy2_0, MultiRelationshipMapping, NamedColumn, NamedColumnAnnotation, NamedNativeQueriesAnnotation, NamedNativeQuery, NamedNativeQueryAnnotation, NamedQueriesAnnotation, NamedQuery, NamedQuery2_0, NamedQuery2_0Annotation, NamedQueryAnnotation, NestableAnnotation, NestableAssociationOverrideAnnotation, NestableAttributeOverrideAnnotation, NestableColumnAnnotation, NestableEclipseLinkConversionValueAnnotation, NestableJoinColumnAnnotation, NestableJoinTableAnnotation, NestableMapKeyJoinColumnAnnotation, NestableNamedNativeQueryAnnotation, NestableNamedQueryAnnotation, NestablePrimaryKeyJoinColumnAnnotation, NestableQueryHintAnnotation, NestableSecondaryTableAnnotation, NestableUniqueConstraintAnnotation, Nullable, OneToMany2_0Annotation, OneToManyAnnotation, OneToManyMapping, OneToManyMapping2_0, OneToManyRelationshipReference, OneToManyRelationshipReference2_0, OneToOne2_0Annotation, OneToOneAnnotation, OneToOneMapping, OneToOneMapping2_0, OneToOneRelationshipReference, OneToOneRelationshipReference2_0, Options, Options2_0, Orderable, Orderable2_0, OrderByAnnotation, OrderColumn2_0, OrderColumn2_0Annotation, OrmAssociationOverride, OrmAssociationOverrideContainer, OrmAssociationOverrideRelationshipReference, OrmAssociationOverrideRelationshipReference2_0, OrmAttributeMapping, OrmAttributeOverride, OrmAttributeOverrideContainer, OrmBaseColumn, OrmBaseEmbeddedMapping, OrmBaseJoinColumn, OrmBasicMapping, OrmCacheable2_0, OrmCacheableHolder2_0, OrmCascade, OrmCascade2_0, OrmCollectionMapping2_0, OrmCollectionTable2_0, OrmColumn, OrmColumnMapping, OrmConverter, OrmDerivedIdentity2_0, OrmDiscriminatorColumn, OrmEclipseLinkCaching, OrmEclipseLinkEmbeddable, OrmEclipseLinkEntity, OrmEclipseLinkMappedSuperclass, OrmElementCollectionMapping2_0, OrmEmbeddable, OrmEmbeddedIdMapping, OrmEmbeddedMapping, OrmEmbeddedMapping2_0, OrmEntity, OrmGeneratedValue, OrmGenerator, OrmGeneratorContainer, OrmIdClassReference, OrmIdDerivedIdentityStrategy2_0, OrmIdMapping, OrmJoinColumn, OrmJoinColumnEnabledRelationshipReference, OrmJoinColumnInAssociationOverrideJoiningStrategy, OrmJoinColumnJoiningStrategy, OrmJoiningStrategy, OrmJoinTable, OrmJoinTableEnabledRelationshipReference, OrmJoinTableInAssociationOverrideJoiningStrategy2_0, OrmJoinTableJoiningStrategy, OrmManyToManyMapping, OrmManyToManyMapping2_0, OrmManyToManyRelationshipReference, OrmManyToOneMapping, OrmManyToOneMapping2_0, OrmManyToOneRelationshipReference, OrmManyToOneRelationshipReference2_0, OrmMappedByJoiningStrategy, OrmMappedSuperclass, OrmMapsIdDerivedIdentityStrategy2_0, OrmMultiRelationshipMapping, OrmNamedColumn, OrmNamedNativeQuery, OrmNamedQuery, OrmNamedQuery2_0, OrmOneToManyMapping, OrmOneToManyMapping2_0, OrmOneToManyRelationshipReference, OrmOneToManyRelationshipReference2_0, OrmOneToOneMapping, OrmOneToOneMapping2_0, OrmOneToOneRelationshipReference, OrmOneToOneRelationshipReference2_0, OrmOrderable, OrmOrderable2_0, OrmOrderColumn2_0, OrmOrphanRemovable2_0, OrmOrphanRemovalHolder2_0, OrmOverrideContainer, OrmOwnableRelationshipReference, OrmPersistenceUnitDefaults, OrmPersistenceUnitDefaults2_0, OrmPersistentAttribute, OrmPersistentAttribute2_0, OrmPersistentType, OrmPersistentType2_0, OrmPrimaryKeyJoinColumn, OrmPrimaryKeyJoinColumnEnabledRelationshipReference, OrmPrimaryKeyJoinColumnJoiningStrategy, OrmQuery, OrmQueryContainer, OrmQueryHint, OrmReferenceTable, OrmRelationshipMapping, OrmRelationshipReference, OrmSecondaryTable, OrmSequenceGenerator, OrmSequenceGenerator2_0, OrmSingleRelationshipMapping, OrmSingleRelationshipMapping2_0, OrmTable, OrmTableGenerator, OrmTransientMapping, OrmTypeMapping, OrmUniqueConstraint, OrmVersionMapping, OrmXml, OrphanRemovable2_0, OrphanRemovalHolder2_0, OverrideAnnotation, OverrideContainer, OwnableRelationshipMappingAnnotation, OwnableRelationshipReference, Persistence, Persistence2_0, PersistenceUnit, PersistenceUnit.Property, PersistenceUnit2_0, PersistenceUnitMetadata, PersistenceUnitProperties, PersistenceXml, PersistenceXml2_0, PersistentAttribute, PersistentAttribute2_0, PersistentType, PersistentType.Owner, PersistentType2_0, PrimaryKeyJoinColumn, PrimaryKeyJoinColumnAnnotation, PrimaryKeyJoinColumnEnabledRelationshipReference, PrimaryKeyJoinColumnJoiningStrategy, PrimaryKeyJoinColumnsAnnotation, PropertyValueModel<T>, Query, QueryContainer, QueryHint, QueryHintAnnotation, ReferenceTable, ReferenceTableAnnotation, RelationshipMapping, RelationshipMapping2_0Annotation, RelationshipMappingAnnotation, RelationshipReference, SchemaGeneration, SecondaryTable, SecondaryTableAnnotation, SecondaryTablesAnnotation, SequenceGenerator, SequenceGenerator2_0, SequenceGenerator2_0Annotation, SequenceGeneratorAnnotation, SingleRelationshipMapping, SingleRelationshipMapping2_0, StaticMetamodelAnnotation, Table, TableAnnotation, TableGenerator, TableGeneratorAnnotation, TemporalAnnotation, TemporalConverter, TransientAnnotation, TransientMapping, TreeNodeValueModel<T>, TreeValueModel<E>, TypeMapping, UniqueConstraint, UniqueConstraintAnnotation, VersionAnnotation, VersionMapping, WritableCollectionValueModel<E>, WritableListValueModel<E>, WritablePropertyValueModel<T>, XmlContextNode, XmlFile

public interface Model

Interface to be implemented by models that notify listeners of changes to bound properties, collections, lists, and/or trees.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
ChangeListener, StateChangeListener, PropertyChangeListener, CollectionChangeListener, ListChangeListener, TreeChangeListener, AbstractModel

Method Summary
 void addChangeListener(ChangeListener listener)
          Add a listener that listens to all change events.
 void addCollectionChangeListener(java.lang.String collectionName, CollectionChangeListener listener)
          Add a listener that listens to all collection change events with the specified collection name.
 void addListChangeListener(java.lang.String listName, ListChangeListener listener)
          Add a listener that listens to all list change events with the specified list name.
 void addPropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
          Add a listener that listens to all property change events with the specified property name.
 void addStateChangeListener(StateChangeListener listener)
          Add a listener that listens to all state change events.
 void addTreeChangeListener(java.lang.String treeName, TreeChangeListener listener)
          Add a listener that listens to all tree change events with the specified tree name.
 void removeChangeListener(ChangeListener listener)
          Remove the specified change listener.
 void removeCollectionChangeListener(java.lang.String collectionName, CollectionChangeListener listener)
          Remove a listener that listens to all collection change events, with the specified collection name.
 void removeListChangeListener(java.lang.String listName, ListChangeListener listener)
          Remove a listener that listens to all list change events, with the specified list name.
 void removePropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
          Remove a listener that listens to all property change events, with the specified property name.
 void removeStateChangeListener(StateChangeListener listener)
          Remove the specified state change listener.
 void removeTreeChangeListener(java.lang.String treeName, TreeChangeListener listener)
          Remove a listener that listens to all tree change events, with the specified tree name.
 

Method Detail

addChangeListener

void addChangeListener(ChangeListener listener)
Add a listener that listens to all change events. Throw an exception if the same listener is added more than once. The listener cannot be null.


removeChangeListener

void removeChangeListener(ChangeListener listener)
Remove the specified change listener. Throw an exception if the listener is null or if the listener was never added.


addStateChangeListener

void addStateChangeListener(StateChangeListener listener)
Add a listener that listens to all state change events. Throw an exception if the same listener is added more than once. The listener cannot be null.


removeStateChangeListener

void removeStateChangeListener(StateChangeListener listener)
Remove the specified state change listener. Throw an exception if the listener is null or if the listener was never added.


addPropertyChangeListener

void addPropertyChangeListener(java.lang.String propertyName,
                               PropertyChangeListener listener)
Add a listener that listens to all property change events with the specified property name. Throw an exception if the same listener is added more than once. The listener cannot be null.


removePropertyChangeListener

void removePropertyChangeListener(java.lang.String propertyName,
                                  PropertyChangeListener listener)
Remove a listener that listens to all property change events, with the specified property name. Throw an exception if the listener is null or if the listener was never added.


addCollectionChangeListener

void addCollectionChangeListener(java.lang.String collectionName,
                                 CollectionChangeListener listener)
Add a listener that listens to all collection change events with the specified collection name. Throw an exception if the same listener is added more than once. The listener cannot be null.


removeCollectionChangeListener

void removeCollectionChangeListener(java.lang.String collectionName,
                                    CollectionChangeListener listener)
Remove a listener that listens to all collection change events, with the specified collection name. Throw an exception if the listener is null or if the listener was never added.


addListChangeListener

void addListChangeListener(java.lang.String listName,
                           ListChangeListener listener)
Add a listener that listens to all list change events with the specified list name. Throw an exception if the same listener is added more than once. The listener cannot be null.


removeListChangeListener

void removeListChangeListener(java.lang.String listName,
                              ListChangeListener listener)
Remove a listener that listens to all list change events, with the specified list name. Throw an exception if the listener is null or if the listener was never added.


addTreeChangeListener

void addTreeChangeListener(java.lang.String treeName,
                           TreeChangeListener listener)
Add a listener that listens to all tree change events with the specified tree name. Throw an exception if the same listener is added more than once. The listener cannot be null.


removeTreeChangeListener

void removeTreeChangeListener(java.lang.String treeName,
                              TreeChangeListener listener)
Remove a listener that listens to all tree change events, with the specified tree name. Throw an exception if the listener is null or if the listener was never added.