Examples of addDescriptor()


Examples of entagged.audioformats.asf.data.ExtendedContentDescription.addDescriptor()

                    // value
                    // is given, so we could read it binary
                    prop.setStringValue("Invalid datatype: "
                            + new String(readBinaryData(raf)));
                }
                result.addDescriptor(prop);
            }
        }
        return result;
    }
View Full Code Here

Examples of oracle.toplink.essentials.sessions.Project.addDescriptor()

        Project project = getSession().getProject();
        ClassDescriptor descriptorOnProject = MetadataHelper.findDescriptor(project, descriptor.getJavaClass());

        if (descriptorOnProject == null) {
            project.addDescriptor(descriptor.getClassDescriptor());
        } else {
            descriptor.setDescriptor(descriptorOnProject);
        }

        m_allDescriptors.put(descriptor.getJavaClassName(), descriptor);
View Full Code Here

Examples of org.aiotrade.lib.math.timeseries.descriptor.Content.addDescriptor()

        Sec sec = new Sec();
        SecInfo info = new SecInfo();
        info.uniSymbol_$eq(symbol);
        sec.secInfo_$eq(info);
        Content content = sec.content();
        content.addDescriptor(quoteContract);
        QuoteSer ser = sec.serOf(quoteContract.freq()).get();
        if (!ser.isLoaded()) {
            sec.loadSer(ser);
        }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    {
      ConglomerateDescriptor cgd =
        ddg.newConglomerateDescriptor(conglomId, indexName, true,
                      indexRowGenerator, isConstraint,
                      conglomerateUUID, td.getUUID(), sd.getUUID() );
      dd.addDescriptor(cgd, sd, DataDictionary.SYSCONGLOMERATES_CATALOG_NUM, false, tc);
      // add newly added conglomerate to the list of conglomerate
      // descriptors in the td.
      ConglomerateDescriptorList cdl =
        td.getConglomerateDescriptorList();
      cdl.add(cgd);
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    ConglomerateDescriptor cgd =
      ddg.newConglomerateDescriptor(conglomId, indexName, true,
                      indexRowGenerator, isConstraint,
                      conglomerateUUID, td.getUUID(), sd.getUUID() );

    dd.addDescriptor(cgd, sd, DataDictionary.SYSCONGLOMERATES_CATALOG_NUM, false, tc);

    // add newly added conglomerate to the list of conglomerate descriptors
    // in the td.
    ConglomerateDescriptorList cdl = td.getConglomerateDescriptorList();
    cdl.add(cgd);
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

      {
        StatisticsDescriptor statDesc =
          new StatisticsDescriptor(dd, dd.getUUIDFactory().createUUID(),
                        cgd.getUUID(), td.getUUID(), "I", new StatisticsImpl(numRows, c[i]),
                        i + 1);
        dd.addDescriptor(statDesc, null,
                 DataDictionary.SYSSTATISTICS_CATALOG_NUM,
                 true, tc);
      }
    }
  }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    // Drop the table
    dd.dropTableDescriptor(td, sd, tc);
    // Change the table name of the table descriptor
    td.setTableName(newTableName);
    // add the table descriptor with new name
    dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM,
             false, tc);
  }

  //do necessary work for rename column at execute time.
  private void execGutsRenameColumn
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    }

    // Drop the column
    dd.dropColumnDescriptor(td.getUUID(), oldObjectName, tc);
    columnDescriptor.setColumnName(newObjectName);
    dd.addDescriptor(columnDescriptor, td,
             DataDictionary.SYSCOLUMNS_CATALOG_NUM, false, tc);

    //Need to do following to reload the cache so that table
    //descriptor now has new column name
    td = dd.getTableDescriptor(td.getObjectID());
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    /* Drop the index descriptor */
    dd.dropConglomerateDescriptor(conglomerateDescriptor, tc);
    // Change the index name of the index descriptor
    conglomerateDescriptor.setConglomerateName(newObjectName);
    // add the index descriptor with new name
    dd.addDescriptor(conglomerateDescriptor, sd,
             DataDictionary.SYSCONGLOMERATES_CATALOG_NUM, false, tc);
  }

  /* Following is used for error handling by repSourceCompilerUtilities
   * in it's method checkIfRenameDependency */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    DataDescriptorGenerator ddg = dd.getDataDescriptorGenerator();

    if ( tableType != TableDescriptor.GLOBAL_TEMPORARY_TABLE_TYPE )
    {
      td = ddg.newTableDescriptor(tableName, sd, tableType, lockGranularity);
      dd.addDescriptor(td, sd, DataDictionary.SYSTABLES_CATALOG_NUM, false, tc);
    } else
    {
      td = ddg.newTableDescriptor(tableName, sd, tableType, onCommitDeleteRows, onRollbackDeleteRows);
      td.setUUID(dd.getUUIDFactory().createUUID());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.