PageRenderTime 32ms CodeModel.GetById 30ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://datanucleus-appengine.googlecode.com/
Java | 34 lines | 14 code | 2 blank | 18 comment | 0 complexity | f1b7c3d890846b1c18a8b09303eebe74 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 HasOneToManyUnencodedStringPkJDO extends Serializable {
  20. void addFlight(Flight flight);
  21. Collection<Flight> getFlights();
  22. String getId();
  23. void setId(String s);
  24. void addBidirChild(BidirectionalChildUnencodedStringPkJDO child);
  25. Collection<BidirectionalChildUnencodedStringPkJDO> getBidirChildren();
  26. boolean removeFlights(Collection<Flight> flights);
  27. boolean removeBidirChildren(
  28. Collection<BidirectionalChildUnencodedStringPkJDO> bidirectionalChildUnencodedStringPkJDOs);
  29. }