PageRenderTime 35ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/com/google/appengine/datanucleus/test/HasOneToManyLongPkJDO.java

http://datanucleus-appengine.googlecode.com/
Java | 32 lines | 12 code | 2 blank | 18 comment | 0 complexity | 218a1bb415060be19254c163c8a739fc MD5 | raw file
Possible License(s): Apache-2.0
  1. /**********************************************************************
  2. Copyright (c) 2009 Google Inc.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. **********************************************************************/
  13. package com.google.appengine.datanucleus.test;
  14. import java.io.Serializable;
  15. import java.util.Collection;
  16. /**
  17. * @author Max Ross <maxr@google.com>
  18. */
  19. public interface HasOneToManyLongPkJDO extends Serializable {
  20. void addFlight(Flight flight);
  21. Collection<Flight> getFlights();
  22. void addBidirChild(BidirectionalChildLongPkJDO child);
  23. Collection<BidirectionalChildLongPkJDO> getBidirChildren();
  24. Long getId();
  25. void removeFlights(Collection<Flight> flights);
  26. void removeBidirChildren(Collection<BidirectionalChildLongPkJDO> bidirectionalChildLongPkJDOs);
  27. }