Class DbSchema

java.lang.Object
com.perforce.p4java.impl.generic.admin.DbSchema
All Implemented Interfaces:
IDbSchema

public class DbSchema extends Object implements IDbSchema
Simple default implementation class for the IDbSchema interface.
  • Constructor Details

    • DbSchema

      public DbSchema()
      Default constructor.
    • DbSchema

      public DbSchema(String name, int version, List<Map<String,String>> columnMetadata)
      Construct a DbSchema using explicit field values.
      Parameters:
      name - name
      version - version
      columnMetadata - columnMetadata
    • DbSchema

      public DbSchema(Map<String,Object> map)
      Construct a DbSchema from a map returned by the Perforce server.

      Don't use this unless you know the correct format of the maps and you either got the map directly from the server or you cobbled together something suitable yourself. No real error- or sanity-checking is done here.

      Parameters:
      map - map data
  • Method Details