Advertisement
simeonvarbanov

Untitled

Oct 31st, 2012
1,125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. typedef sequence <Account> accounts;
  3. struct Account
  4. {
  5. long accountId;
  6. double balance;
  7. string name;
  8. };
  9. interface Customer
  10. {
  11. boolean payIn(double amount, long accountId);
  12. account getAccount(string name);
  13. };
  14. interface Administrator
  15. {
  16. string createAccount(double balance , string name);
  17. boolean deleteAccount(long accountId);
  18. };
  19. };
Advertisement
RAW Paste Data Copied
Advertisement