Class SchemaMapping


  • public class SchemaMapping
    extends java.lang.Object
    • Field Detail

      • project

        public final Project project
    • Constructor Detail

      • SchemaMapping

        public SchemaMapping​(Project project)
    • Method Detail

      • setRemoteSchemas

        public void setRemoteSchemas​(java.util.List<Schema> remoteSchemeNames)
      • setRemoteSchemas

        public void setRemoteSchemas​(java.lang.String[] schemas,
                                     java.lang.String[] catalogs)
      • loadMappingFromString

        public void loadMappingFromString​(java.lang.String map)
      • getRemoteSchemaName

        public java.lang.String getRemoteSchemaName​(Schema localSchema)
      • refresh

        public void refresh()
      • needEdit

        public boolean needEdit()
      • setMapping

        public void setMapping​(Schema localSchema,
                               java.lang.String remoteSchemaName)
      • getLocalSchemaFor

        public Schema getLocalSchemaFor​(java.lang.String remoteSchemaName)
      • isExternalSchemaMapped

        public boolean isExternalSchemaMapped​(java.lang.String remoteSchemaName)
      • isLocalSchemaMapped

        public boolean isLocalSchemaMapped​(Schema localSchema)
      • getRemoteSchemaNames

        public java.util.List<java.lang.String> getRemoteSchemaNames()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object