All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spun.util.database.NullDatabaseObject Maven / Gradle / Ivy

The newest version!
package com.spun.util.database;

import java.sql.Statement;

public class NullDatabaseObject implements DatabaseObject
{
  @Override
  public boolean isNew()
  {
    return false;
  }
  @Override
  public void setNew(boolean b)
  {
  }
  @Override
  public int getPkey()
  {
    return 0;
  }
  @Override
  public boolean setPkey(int i)
  {
    return false;
  }
  @Override
  public Metadata getMetadata()
  {
    return null;
  }
  @Override
  public boolean save(Statement stmt)
  {
    return false;
  }
  @Override
  public boolean deleteFromDatabase(Statement stmt)
  {
    return false;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy