Jump to: navigation, search

Difference between revisions of "Dali Provisional API Changes"

(2.1M1)
(org.eclipse.jpt.core)
Line 81: Line 81:
 
'''''Removed'''''
 
'''''Removed'''''
 
<source lang="java">
 
<source lang="java">
    context.RelationshipMapping.targetEntityIsValid(String)
+
context.RelationshipMapping.targetEntityIsValid(String)
  
    JpaDataSource.hasAConnection()
+
JpaDataSource.hasAConnection()
 +
JpaFactory.hasRelevantContent() -> see JpaPlatform.buildJpaFile(JpaProject, IFile)
 
</source>
 
</source>
  
Line 90: Line 91:
 
     JpaPlatform.defaultJavaAttributeMappingKey(JavaPersistentAttribute) -> JpaPlatform.getDefaultJavaAttributeMappingKey(JavaPersistentAttribute)
 
     JpaPlatform.defaultJavaAttributeMappingKey(JavaPersistentAttribute) -> JpaPlatform.getDefaultJavaAttributeMappingKey(JavaPersistentAttribute)
 
JpaProject.getJavaPersistentTypeResource()-> JpaProject.getJavaResourcePersistentType()
 
JpaProject.getJavaPersistentTypeResource()-> JpaProject.getJavaResourcePersistentType()
 +
 
resource.java.JavaResourceNode.updateFromJava(CompilationUnit) -> resource.java.JavaResourceNode.update(CompilationUnit)
 
resource.java.JavaResourceNode.updateFromJava(CompilationUnit) -> resource.java.JavaResourceNode.update(CompilationUnit)
 
resource.java.PrimaryKeyJoinColumns -> resource.java.PrimaryKeyJoinColumnsAnnotation
 
resource.java.PrimaryKeyJoinColumns -> resource.java.PrimaryKeyJoinColumnsAnnotation
Line 97: Line 99:
 
'''''Added'''''
 
'''''Added'''''
 
<source lang="java">
 
<source lang="java">
    JpaPlatform.getConnectionProfileFactory()
+
JpaPlatform.getConnectionProfileFactory()
    JpaPlatform.getDatabaseFinder()
+
JpaPlatform.getDatabaseFinder()
    JpaPlatform.getEntityGeneratorDatabaseAnnotationNameBuilder()
+
JpaPlatform.getEntityGeneratorDatabaseAnnotationNameBuilder()
 
</source>
 
</source>
 
  
 
===org.eclipse.jpt.ui===
 
===org.eclipse.jpt.ui===

Revision as of 09:14, 27 August 2008

Dali 2.1 Provisional API Changes

2.1M1

org.eclipse.jpt.db

Removed

    Column.getJavaFieldName()
    Column.matchesJavaFieldName(String)
 
    ConnectionProfile.getDefaultCatalog()
      moved to Database
    ConnectionProfile.getDefaultSchema()
      moved to Database
    ConnectionProfile.isNull()
 
    ConnectionProfileRepository.connectionProfiles()
    ConnectionProfileRepository.connectionProfilesSize()
    ConnectionProfileRepository.containsConnectionProfileNamed(String)
    ConnectionProfileRepository.connectionProfileNamed(String)
 
    ConnectionProfileListener.connectionProfileReplaced(ConnectionProfile, ConnectionProfile)
    ConnectionProfileListener.connectionProfileChanged(ConnectionProfile)
 
    Database.containsCatalogNamed(String)
    Database.getDtpDefinition()
    Database.isCaseSensitive()
 
    ForeignKey.defaultMatchesJavaFieldName(String)
    ForeignKey.getJavaFieldName()
    ForeignKey.isDefaultFor(String)
 
    Schema.containsSequenceNamed(String)
    Schema.containsTableNamed(String)
 
    SchemaContainer.containsSchemaNamed(String)
 
    Table.containsColumnNamed(String)
    Table.foreignKeyBaseColumnsContains(Column)
    Table.getJavaFieldName()
    Table.getShortJavaClassName()
    Table.matchesShortJavaClassName()
    Table.primaryKeyColumnsContains(Column)

Renamed

    ConnectionProfile.getUrl() -> getURL()
 
    ConnectionProfileRepository -> ConnectionProfileFactory
 
    Database.catalogNamed(String) -> Database.getCatalogNamed(String)
 
    ForeignKey.ColumnPair.baseColumn() -> ForeignKey.ColumnPair.getBaseColumn()
    ForeignKey.ColumnPair.referencedColumn() -> ForeignKey.ColumnPair.getReferencedColumn()
    ForeignKey.columnPair() -> ForeignKey.getColumnPair()
 
    JptDbPlugin.getConnectionProfileRepository() -> JptDbPlugin.getConnectionProfileFactory()
 
    Schema.sequenceNamed(String) -> Schema.getSequenceNamed(String)
    Schema.tableNamed(String) -> Schema.getTableNamed(String)
 
    SchemaContainer.schemaNamed(String) -> SchemaContainer.getSchemaNamed(String)
 
    Table.columnNamed(String) -> Table.getColumnNamed(String)
    Table.primaryKeyColumn() -> Table.getPrimaryKeyColumn()

Added

    ConnectionProfileListener.connectionProfileAdded(String)
    ConnectionProfileListener.connectionProfileRemoved(String)
    ConnectionProfileListener.connectionProfileRenamed(String, String)

org.eclipse.jpt.core

Removed

context.RelationshipMapping.targetEntityIsValid(String)
 
JpaDataSource.hasAConnection()
JpaFactory.hasRelevantContent() -> see JpaPlatform.buildJpaFile(JpaProject, IFile)

Renamed

    JpaPlatform.defaultJavaAttributeMappingKey(JavaPersistentAttribute) -> JpaPlatform.getDefaultJavaAttributeMappingKey(JavaPersistentAttribute)
JpaProject.getJavaPersistentTypeResource()-> JpaProject.getJavaResourcePersistentType()
 
resource.java.JavaResourceNode.updateFromJava(CompilationUnit) -> resource.java.JavaResourceNode.update(CompilationUnit)
resource.java.PrimaryKeyJoinColumns -> resource.java.PrimaryKeyJoinColumnsAnnotation


Added

JpaPlatform.getConnectionProfileFactory()
JpaPlatform.getDatabaseFinder()
JpaPlatform.getEntityGeneratorDatabaseAnnotationNameBuilder()

org.eclipse.jpt.ui

Changed

details.JpaComposite and details.JpaPageComposite are no longer generic types, was unnecessary