text stringlengths 3 1.18M |
|---|
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
package org.openrtb.dsp.core;
import org.openrtb.common.model.AdvertiserBlocklistResponse;
import org.openrtb.dsp.intf.model.SupplySidePlatform;
import org.openrtb.dsp.intf.service.AdvertiserService;
import org.openrtb.dsp.intf.service.IdentificationService;
/**
* This class does the same thing as its parent, only i... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
package org.openrtb.common.model;
/**
* Created by IntelliJ IDEA. Response
*
* @author jdrahos
*/
public interface Response extends Message {
void setStatus(Status status);
void setIdentification(Identification identification);
}
|
package org.openrtb.common.model;
/**
* Created by IntelliJ IDEA. PreferenceType
*
* @author isrsal
*/
public enum PreferenceType {
URL, creativeAttributes, creativeCategories, richmediaVendors, trackingVendors, urlGroup
}
|
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
package org.openrtb.common.model;
/**
* Created by IntelliJ IDEA. Request
*
* @author jdrahos
*/
public interface Request extends Message {
}
|
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
package org.openrtb.common.model;
/**
* Created by IntelliJ IDEA. Operator
*
* @author isrsal
*/
public enum Operator {
include, exclude
}
|
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
/*
* Copyright (c) 2010, The OpenRTB Project All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... |
/*
* Copyright (c) 2010, The OpenRTB Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
package Model;
public class Varer {
private String Navn;
private int Aarstal;
private int kundeID;
private int udlejningsID;
private String nummerPlade;
private int produktType;
private int udlejet;
private int id;
private Varer getbyLicense;
private Varer getVarer;
// Bil instans varia... |
package Model;
public class Kunde
{
private int id;
private String navn;
private String adresse;
private int telefonnr;
private String email;
private int blacklisted;
private Kunde getbyPhone;
private Kunde getbyId;
public static void main(String[] args)
{
}
public Kunde()
{
... |
package Model;
public class Bil extends Varer {
public static void main(String[] args) {
new Bil();
}
@Override
public void Test() {
super.Test();
}
private int KmKoert;
private double prisPrEkstraKoert;
private int Depossitum;
private int Forsikringspris;
private ... |
package Model;
public class Udlejning
{
private int id;
private int Pris;
private int Betalt;
private String DatoUdlej;
private String DatoAflever;
private Kunde kunde;
//Associeret med Kunde
private Kunde objKunde;
public static void main(String[] args) {
}
public Udlejning(... |
package Unittests;
import Controller.CtrKunde;
import Model.Kunde;
public class Unittest_Kunder {
public static void main(String[] args)
{
new Unittest_Kunder();
}
public Unittest_Kunder()
{
//testGetCustomerbyPhone();
testGetCustomerbyID();
//testCreateCustomer();
... |
package Database;
import java.util.ArrayList;
import Model.*;
public interface IFDBVarer {
public Varer findProductByLicense(String nummerPlade, boolean retriveAssociation);
int updateCustomer(Varer objVarer);
int createProduct(Varer objVarer) throws Exception;
public int deleteProductbyid(int... |
package Database;
import Model.*;
public interface IFDBKunder {
public Kunde findCustomerById(int id, boolean retriveAssociation);
public Kunde findCustomerByPhone(int phone, boolean retriveAssociation);
int createCustomer(Kunde objKunde) throws Exception;
public int updateCustomer(Kunde objK... |
package Database;
import Model.*;
public interface IFDBBil {
public Bil findProductByLicense(String nummerPlade, boolean retriveAssociation);
}
|
package Database;
import java.sql.*;
/**
* GetMax.java
* @author kbh
* @version 26. oktober 2006
*/
public class GetMax {
/** Creates a new instance of GetMax */
public GetMax() {
}
//getMax is for the primary key in the table
public static int getMaxId(String query){
... |
package Database;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import Database.DbConnection;
public class DbConnectionTest {
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
... |
package View;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.SpringLayout;
import javax.swing.border.TitledBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import jav... |
package controllayer;
import java.util.ArrayList;
import modellayer.PartSale;
import modellayer.Sale;
import modellayer.Item;
import dblayer.DBPartSale;
import dblayer.IFDBPartSale;
public class CtrPartSale {
private IFDBPartSale dbObj;
public CtrPartSale(){
dbObj = new DBPartSale();
}
p... |
package controllayer;
import java.util.ArrayList;
import dblayer.DBConnection;
import dblayer.DBItem;
import dblayer.IFDBItem;
import modellayer.Item;
import modellayer.Supplier;
import modellayer.Type;
public class CtrItem {
private IFDBItem dbObj;
private CtrType ctrType;
private CtrSupplier ctr... |
package controllayer;
import java.util.ArrayList;
import java.util.Date;
import modellayer.Employee;
import modellayer.Sale;
import dblayer.DBConnection;
import dblayer.DBSale;
import dblayer.IFDBSale;
public class CtrSale {
private IFDBSale dbObj;
public CtrSale(){
dbObj = new DBSale();
}
... |
package controllayer;
import java.util.ArrayList;
import java.util.Date;
import modellayer.Invoice;
import modellayer.Sale;
import dblayer.DBConnection;
import dblayer.DBInvoice;
import dblayer.IFDBInvoice;
public class CtrInvoice {
private IFDBInvoice dbObj;
public CtrInvoice(){
dbObj = new D... |
package controllayer;
import java.util.ArrayList;
import dblayer.DBCity;
import dblayer.DBConnection;
import dblayer.IFDBCity;
import modellayer.City;
public class CtrCity {
private IFDBCity dbObj;
public CtrCity(){
dbObj = new DBCity();
}
public ArrayList<City> getAllCities(){
ArrayLi... |
package controllayer;
import java.util.ArrayList;
import dblayer.DBConnection;
import dblayer.DBReturn;
import dblayer.IFDBReturn;
import modellayer.Return;
public class CtrReturn {
private IFDBReturn dbObj;
private CtrPartSale partSale;
public CtrReturn(){
dbObj = new DBReturn();
partSale ... |
package controllayer;
import java.util.ArrayList;
import dblayer.DBConnection;
import dblayer.DBType;
import dblayer.IFDBType;
import modellayer.Type;
public class CtrType {
private IFDBType dbObj;
public CtrType(){
dbObj = new DBType();
}
public ArrayList<Type> getAllTypes(){
ArrayLis... |
package controllayer;
import java.util.ArrayList;
import dblayer.DBConnection;
import dblayer.DBEmployee;
import dblayer.IFDBEmployee;
import modellayer.City;
import modellayer.Employee;
public class CtrEmployee {
private IFDBEmployee dbObj;
private CtrCity ctrCity;
public CtrEmployee(){
d... |
package controllayer;
import java.util.ArrayList;
import modellayer.City;
import modellayer.Supplier;
import dblayer.DBConnection;
import dblayer.DBSupplier;
import dblayer.IFDBSupplier;
public class CtrSupplier {
private IFDBSupplier dbObj;
private CtrCity ctrCity;
public CtrSupplier(){
dbOb... |
package dblayer;
import java.util.ArrayList;
import modellayer.Sale;
public interface IFDBSale {
public ArrayList<Sale> getAllSales();
public Sale searchByID(int id);
public Sale searchByDate(String date);
public int insertSale(Sale sale) throws Exception;
public int updateSale(Sale sale);... |
package dblayer;
import java.sql.ResultSet;
import java.sql.Statement;
public class GetMax {
public GetMax(){
}
public static int getMaxID(String query){
ResultSet result;
int id = -1;
try{
Statement stmt = DBConnection.getInstance().getDBcon().createStatement();
result = stmt... |
package dblayer;
import java.util.ArrayList;
import modellayer.*;
public interface IFDBPartSale {
public ArrayList<PartSale> getAllPartSale();
public ArrayList<PartSale> searchBySaleID(int id);
public PartSale searchByID(int id);
public PartSale searchByVareID(int itemID);
public int insertPa... |
package dblayer;
import java.util.ArrayList;
import modellayer.*;
public interface IFDBCity {
public ArrayList<City> getAllCities();
public City searchCityByZip(int zipCode);
public City searchCityByName(String name);
public int insertCity(City city) throws Exception;
public int u... |
package dblayer;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import modellayer.PartSale;
public class DBPartSale implements IFDBPartSale {
private Connection con;
private DBItem item;
private DBSale sale... |
package dblayer;
import java.util.ArrayList;
import modellayer.Invoice;
public interface IFDBInvoice {
public ArrayList<Invoice> getAllInvoices();
public Invoice searchByNo(int number);
public int insertInvoice(Invoice invoice) throws Exception;
public int updateInvoice(Invoice invoice);
... |
package dblayer;
import java.util.ArrayList;
import modellayer.Return;
public interface IFDBReturn {
public ArrayList<Return> getAllReturns();
public Return searchByID(int ID);
public int insertReturn(Return returnObj) throws Exception;
public int updateReturn(Return returnObj);
public ... |
package dblayer;
import java.util.ArrayList;
import modellayer.Supplier;
public interface IFDBSupplier {
public ArrayList<Supplier> getAllSuppliers();
public Supplier searchByID(int id);
public Supplier searchByName(String name);
public Supplier searchByAddress(String address);
public Supplier s... |
package dblayer;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import modellayer.Item;
public class DBItem implements IFDBItem {
private Connection con;
private DBType type;
private DBSupplier supplier;
... |
package dblayer;
import java.sql.*;
public class DBConnection
{
private static final String driver = "jdbc:sqlserver://balder.ucn.dk:1433";
private static final String databaseName = ";databaseName=dmaa0913_6a";
private static String userName = "; user=dmaa0913_6a";
private static Str... |
package dblayer;
import java.util.ArrayList;
import modellayer.Item;
public interface IFDBItem {
public ArrayList<Item> getAllItems();
public Item searchByID(int ID);
public Item searchByName(String name);
public Item searchByDescription(String description);
public Item searchByPrice(double pric... |
package dblayer;
import java.util.ArrayList;
import modellayer.Employee;
public interface IFDBEmployee {
public ArrayList<Employee> getAllEmployee();
public Employee searchByID(int id);
public Employee searchByName(String name);
public Employee searchByPhone(int phone);
public Employee searchByA... |
package dblayer;
import java.util.ArrayList;
import modellayer.Type;
public interface IFDBType {
public ArrayList<Type> getAllTypes();
public Type searchByID(int id);
public Type searchByType(String type);
public Type searchByDescription(String description);
public int insertType(Type type) t... |
package uilayer;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import controllayer.CtrType;
import java.awt.event.MouseAdapter;
import java.awt.... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrCity;
import java.awt.event.MouseAdapter;
import... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrEmployee;
import java.awt.event.MouseAdapter;
im... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrInvoice;
import java.awt.event.MouseAdapter;
imp... |
package uilayer;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import controllayer.CtrSupplier;
import java.awt.event.MouseAdapter;
import java.... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrSupplier;
import java.awt.event.MouseAdapter;
im... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JTextField;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JButton;
import controllayer.CtrEmployee;
import java.awt.event.MouseAdapter;
import j... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrSale;
import java.awt.event.MouseAdapter;
import... |
package uilayer;
import javax.swing.JPanel;
public class DeletePartSale extends JPanel {
/**
* Create the panel.
*/
public DeletePartSale() {
}
}
|
package uilayer;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JTable;
import java.awt.GridBagLayout;
import javax.swing.JTextField;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.event.MouseAda... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrReturn;
import java.awt.event.MouseAdapter;
impo... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrItem;
import java.awt.event.MouseAdapter;
import... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import javax.swing.JButton;
import controllayer.CtrType;
import java.awt.event.MouseAdapter;
import... |
package uilayer;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.JTextField;
import javax.swing.JButton;
import controllayer.CtrCity;
import java.awt.event.MouseAdapter;
import jav... |
package uilayer;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import controllayer.CtrItem;
import java.awt.event.MouseAdapter;
import java.awt.... |
package uilayer;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class MakeInvoice extends JPanel {
private JTextField textField;
private JTextField textField_1;
pr... |
package modellayer;
import java.util.Date;
public class Invoice {
private int number;
private Date date;
private double total;
private Sale sale;
public Invoice(){
}
public Invoice(int number){
this.number = number;
}
public Invoice(int number, Date date, double total, Sale ... |
package modellayer;
public class Employee {
private int id;
private String name;
private int phone;
private String address;
private String email;
private City city;
public Employee() {
}
public Employee(int id){
this.id = id;
}
public Employee(int id, String name, int pho... |
package modellayer;
public class Item {
private int id;
private String name;
private String description;
private double price;
private int amount;
private String status;
private int max;
private int min;
private Type type;
private Supplier supplier;
public Item(int id){
this.id = id;... |
package modellayer;
public class City {
private int codeZip;
private String city;
public City(){
}
public City(int codeZip)
{
this.codeZip = codeZip;
}
public City(int codeZip, String city){
this.codeZip = codeZip;
this.city = city;
}
public void setCodeZip(int codeZip... |
package modellayer;
public class Return {
private int id;
private PartSale part_sale;
private String itemName;
private String status;
private int amount;
public Return(){
}
public Return(int id, PartSale part_sale, String itemName, String status, int amount){
this.id = id;
this.part... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.