public RemoteMetaDataImpl(Schema schema) throws RemoteException {
  this.schema=schema;
  fields.addAll(schema.fields());
}

public RemoteMetaDataImpl ( Schema schema ) throws RemoteException { this . schema = schema ; fields . addAll ( schema . fields ( ) ) ; }
creates a metadata object that wraps the specified schema . the method also creates a list to hold the schema ' s collection of field names , so that the fields can be accessed by position .
