PageRenderTime 12ms CodeModel.GetById 3ms app.highlight 5ms RepoModel.GetById 2ms 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
 1/**********************************************************************
 2Copyright (c) 2009 Google Inc.
 3
 4Licensed under the Apache License, Version 2.0 (the "License");
 5you may not use this file except in compliance with the License.
 6You may obtain a copy of the License at
 7
 8http://www.apache.org/licenses/LICENSE-2.0
 9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15**********************************************************************/
16package com.google.appengine.datanucleus.test;
17
18import java.io.Serializable;
19import java.util.Collection;
20
21/**
22 * @author Max Ross <maxr@google.com>
23 */
24public interface HasOneToManyUnencodedStringPkJDO extends Serializable {
25  void addFlight(Flight flight);
26  Collection<Flight> getFlights();
27  String getId();
28  void setId(String s);
29  void addBidirChild(BidirectionalChildUnencodedStringPkJDO child);
30  Collection<BidirectionalChildUnencodedStringPkJDO> getBidirChildren();
31  boolean removeFlights(Collection<Flight> flights);
32  boolean removeBidirChildren(
33      Collection<BidirectionalChildUnencodedStringPkJDO> bidirectionalChildUnencodedStringPkJDOs);
34}