http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteDeny.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteDeny.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteDeny.java new file mode 100644 index 0000000..4b5069c --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteDeny.java @@ -0,0 +1,35 @@ +package org.apache.cayenne.testdo.deleterules.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.deleterules.DeleteRule; + +/** + * Class _DeleteDeny was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _DeleteDeny extends CayenneDataObject { + + public static final String NAME_PROPERTY = "name"; + public static final String DENY_PROPERTY = "deny"; + + public static final String DELETE_DENY_ID_PK_COLUMN = "DELETE_DENY_ID"; + + public void setName(String name) { + writeProperty(NAME_PROPERTY, name); + } + public String getName() { + return (String)readProperty(NAME_PROPERTY); + } + + public void setDeny(DeleteRule deny) { + setToOneTarget(DENY_PROPERTY, deny, true); + } + + public DeleteRule getDeny() { + return (DeleteRule)readProperty(DENY_PROPERTY); + } + + +}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteNullify.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteNullify.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteNullify.java new file mode 100644 index 0000000..10906cb --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteNullify.java @@ -0,0 +1,35 @@ +package org.apache.cayenne.testdo.deleterules.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.deleterules.DeleteRule; + +/** + * Class _DeleteNullify was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _DeleteNullify extends CayenneDataObject { + + public static final String NAME_PROPERTY = "name"; + public static final String NULLIFY_PROPERTY = "nullify"; + + public static final String DELETE_NULLIFY_ID_PK_COLUMN = "DELETE_NULLIFY_ID"; + + public void setName(String name) { + writeProperty(NAME_PROPERTY, name); + } + public String getName() { + return (String)readProperty(NAME_PROPERTY); + } + + public void setNullify(DeleteRule nullify) { + setToOneTarget(NULLIFY_PROPERTY, nullify, true); + } + + public DeleteRule getNullify() { + return (DeleteRule)readProperty(NULLIFY_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteRule.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteRule.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteRule.java new file mode 100644 index 0000000..6dedf75 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/deleterules/auto/_DeleteRule.java @@ -0,0 +1,68 @@ +package org.apache.cayenne.testdo.deleterules.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.deleterules.DeleteCascade; +import org.apache.cayenne.testdo.deleterules.DeleteDeny; +import org.apache.cayenne.testdo.deleterules.DeleteNullify; + +import java.util.List; + +/** + * Class _DeleteRule was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _DeleteRule extends CayenneDataObject { + + public static final String NAME_PROPERTY = "name"; + public static final String FROM_CASCADE_PROPERTY = "fromCascade"; + public static final String FROM_DENY_PROPERTY = "fromDeny"; + public static final String FROM_NULLIFY_PROPERTY = "fromNullify"; + + public static final String DELETE_RULE_ID_PK_COLUMN = "DELETE_RULE_ID"; + + public void setName(String name) { + writeProperty(NAME_PROPERTY, name); + } + public String getName() { + return (String)readProperty(NAME_PROPERTY); + } + + public void addToFromCascade(DeleteCascade obj) { + addToManyTarget(FROM_CASCADE_PROPERTY, obj, true); + } + public void removeFromFromCascade(DeleteCascade obj) { + removeToManyTarget(FROM_CASCADE_PROPERTY, obj, true); + } + @SuppressWarnings("unchecked") + public List<DeleteCascade> getFromCascade() { + return (List<DeleteCascade>)readProperty(FROM_CASCADE_PROPERTY); + } + + + public void addToFromDeny(DeleteDeny obj) { + addToManyTarget(FROM_DENY_PROPERTY, obj, true); + } + public void removeFromFromDeny(DeleteDeny obj) { + removeToManyTarget(FROM_DENY_PROPERTY, obj, true); + } + @SuppressWarnings("unchecked") + public List<DeleteDeny> getFromDeny() { + return (List<DeleteDeny>)readProperty(FROM_DENY_PROPERTY); + } + + + public void addToFromNullify(DeleteNullify obj) { + addToManyTarget(FROM_NULLIFY_PROPERTY, obj, true); + } + public void removeFromFromNullify(DeleteNullify obj) { + removeToManyTarget(FROM_NULLIFY_PROPERTY, obj, true); + } + @SuppressWarnings("unchecked") + public List<DeleteNullify> getFromNullify() { + return (List<DeleteNullify>)readProperty(FROM_NULLIFY_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/ClientLifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/ClientLifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/ClientLifecycles.java new file mode 100644 index 0000000..766cdc6 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/ClientLifecycles.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.lifecycles; + +import org.apache.cayenne.testdo.lifecycles.auto._ClientLifecycles; + +/** + * A persistent class mapped as "Lifecycles" Cayenne entity. + */ +public class ClientLifecycles extends _ClientLifecycles { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/Lifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/Lifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/Lifecycles.java new file mode 100644 index 0000000..23d34d4 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/Lifecycles.java @@ -0,0 +1,25 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.lifecycles; + +import org.apache.cayenne.testdo.lifecycles.auto._Lifecycles; + +public class Lifecycles extends _Lifecycles { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_ClientLifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_ClientLifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_ClientLifecycles.java new file mode 100644 index 0000000..fa9ccd2 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_ClientLifecycles.java @@ -0,0 +1,37 @@ +package org.apache.cayenne.testdo.lifecycles.auto; + +import org.apache.cayenne.PersistentObject; + +/** + * A generated persistent class mapped as "Lifecycles" Cayenne entity. It is a good idea to + * avoid changing this class manually, since it will be overwritten next time code is + * regenerated. If you need to make any customizations, put them in a subclass. + */ +public abstract class _ClientLifecycles extends PersistentObject { + + public static final String NAME_PROPERTY = "name"; + + protected String name; + + public String getName() { + if(objectContext != null) { + objectContext.prepareForAccess(this, "name", false); + } + + return name; + } + public void setName(String name) { + if(objectContext != null) { + objectContext.prepareForAccess(this, "name", false); + } + + Object oldValue = this.name; + this.name = name; + + // notify objectContext about simple property change + if(objectContext != null) { + objectContext.propertyChanged(this, "name", oldValue, name); + } + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_Lifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_Lifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_Lifecycles.java new file mode 100644 index 0000000..a101cd9 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lifecycles/auto/_Lifecycles.java @@ -0,0 +1,24 @@ +package org.apache.cayenne.testdo.lifecycles.auto; + +import org.apache.cayenne.CayenneDataObject; + +/** + * Class _Lifecycles was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _Lifecycles extends CayenneDataObject { + + public static final String NAME_PROPERTY = "name"; + + public static final String ID_PK_COLUMN = "ID"; + + public void setName(String name) { + writeProperty(NAME_PROPERTY, name); + } + public String getName() { + return (String)readProperty(NAME_PROPERTY); + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToMany.java new file mode 100644 index 0000000..c52355e --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToMany.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._ClientIdMapToMany; + +/** + * A persistent class mapped as "IdMapToMany" Cayenne entity. + */ +public class ClientIdMapToMany extends _ClientIdMapToMany { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToManyTarget.java new file mode 100644 index 0000000..2c93399 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/ClientIdMapToManyTarget.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._ClientIdMapToManyTarget; + +/** + * A persistent class mapped as "IdMapToManyTarget" Cayenne entity. + */ +public class ClientIdMapToManyTarget extends _ClientIdMapToManyTarget { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToMany.java new file mode 100644 index 0000000..6552782 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToMany.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._IdMapToMany; + +public class IdMapToMany extends _IdMapToMany { + +} + + + http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToManyTarget.java new file mode 100644 index 0000000..9feabdf --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/IdMapToManyTarget.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._IdMapToManyTarget; + +public class IdMapToManyTarget extends _IdMapToManyTarget { + +} + + + http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToMany.java new file mode 100644 index 0000000..5fdca59 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToMany.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._MapToMany; + +public class MapToMany extends _MapToMany { + +} + + + http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToManyTarget.java new file mode 100644 index 0000000..2834513 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/MapToManyTarget.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.map_to_many; + +import org.apache.cayenne.testdo.map_to_many.auto._MapToManyTarget; + +public class MapToManyTarget extends _MapToManyTarget { + +} + + + http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToMany.java new file mode 100644 index 0000000..43ca171 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToMany.java @@ -0,0 +1,41 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.PersistentObject; +import org.apache.cayenne.testdo.map_to_many.ClientIdMapToManyTarget; + +import java.util.Map; + +/** + * A generated persistent class mapped as "IdMapToMany" Cayenne entity. It is a good idea to + * avoid changing this class manually, since it will be overwritten next time code is + * regenerated. If you need to make any customizations, put them in a subclass. + */ +public abstract class _ClientIdMapToMany extends PersistentObject { + + public static final String TARGETS_PROPERTY = "targets"; + + protected Map<Object, ClientIdMapToManyTarget> targets; + + public Map<Object, ClientIdMapToManyTarget> getTargets() { + if(objectContext != null) { + objectContext.prepareForAccess(this, "targets", true); + } + + return targets; + } + public void addToTargets(ClientIdMapToManyTarget object) { + if(objectContext != null) { + objectContext.prepareForAccess(this, "targets", true); + } + + this.targets.put(getMapKey("targets", object), object); + } + public void removeFromTargets(ClientIdMapToManyTarget object) { + if(objectContext != null) { + objectContext.prepareForAccess(this, "targets", true); + } + + this.targets.remove(getMapKey("targets", object)); + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToManyTarget.java new file mode 100644 index 0000000..e194447 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_ClientIdMapToManyTarget.java @@ -0,0 +1,33 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.PersistentObject; +import org.apache.cayenne.ValueHolder; +import org.apache.cayenne.testdo.map_to_many.ClientIdMapToMany; + +/** + * A generated persistent class mapped as "IdMapToManyTarget" Cayenne entity. It is a good idea to + * avoid changing this class manually, since it will be overwritten next time code is + * regenerated. If you need to make any customizations, put them in a subclass. + */ +public abstract class _ClientIdMapToManyTarget extends PersistentObject { + + public static final String MAP_TO_MANY_PROPERTY = "mapToMany"; + + protected ValueHolder mapToMany; + + public ClientIdMapToMany getMapToMany() { + if(objectContext != null) { + objectContext.prepareForAccess(this, "mapToMany", true); + } + + return (ClientIdMapToMany) mapToMany.getValue(); + } + public void setMapToMany(ClientIdMapToMany mapToMany) { + if(objectContext != null) { + objectContext.prepareForAccess(this, "mapToMany", true); + } + + this.mapToMany.setValue(mapToMany); + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToMany.java new file mode 100644 index 0000000..bbe1040 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToMany.java @@ -0,0 +1,32 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.map_to_many.IdMapToManyTarget; + +import java.util.Map; + +/** + * Class _IdMapToMany was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _IdMapToMany extends CayenneDataObject { + + public static final String TARGETS_PROPERTY = "targets"; + + public static final String ID_PK_COLUMN = "ID"; + + public void addToTargets(IdMapToManyTarget obj) { + addToManyTarget(TARGETS_PROPERTY, obj, true); + } + public void removeFromTargets(IdMapToManyTarget obj) { + removeToManyTarget(TARGETS_PROPERTY, obj, true); + } + @SuppressWarnings("unchecked") + public Map<Object, IdMapToManyTarget> getTargets() { + return (Map<Object, IdMapToManyTarget>)readProperty(TARGETS_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToManyTarget.java new file mode 100644 index 0000000..b03e6c0 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_IdMapToManyTarget.java @@ -0,0 +1,27 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.map_to_many.IdMapToMany; + +/** + * Class _IdMapToManyTarget was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _IdMapToManyTarget extends CayenneDataObject { + + public static final String MAP_TO_MANY_PROPERTY = "mapToMany"; + + public static final String ID_PK_COLUMN = "ID"; + + public void setMapToMany(IdMapToMany idMapToMany) { + setToOneTarget(MAP_TO_MANY_PROPERTY, idMapToMany, true); + } + + public IdMapToMany getMapToMany() { + return (IdMapToMany)readProperty(MAP_TO_MANY_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToMany.java new file mode 100644 index 0000000..063c365 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToMany.java @@ -0,0 +1,32 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.map_to_many.MapToManyTarget; + +import java.util.Map; + +/** + * Class _MapToMany was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _MapToMany extends CayenneDataObject { + + public static final String TARGETS_PROPERTY = "targets"; + + public static final String ID_PK_COLUMN = "ID"; + + public void addToTargets(MapToManyTarget obj) { + addToManyTarget(TARGETS_PROPERTY, obj, true); + } + public void removeFromTargets(MapToManyTarget obj) { + removeToManyTarget(TARGETS_PROPERTY, obj, true); + } + @SuppressWarnings("unchecked") + public Map<String, MapToManyTarget> getTargets() { + return (Map<String, MapToManyTarget>)readProperty(TARGETS_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToManyTarget.java new file mode 100644 index 0000000..66c8e90 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/map_to_many/auto/_MapToManyTarget.java @@ -0,0 +1,35 @@ +package org.apache.cayenne.testdo.map_to_many.auto; + +import org.apache.cayenne.CayenneDataObject; +import org.apache.cayenne.testdo.map_to_many.MapToMany; + +/** + * Class _MapToManyTarget was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _MapToManyTarget extends CayenneDataObject { + + public static final String NAME_PROPERTY = "name"; + public static final String MAP_TO_MANY_PROPERTY = "mapToMany"; + + public static final String ID_PK_COLUMN = "ID"; + + public void setName(String name) { + writeProperty(NAME_PROPERTY, name); + } + public String getName() { + return (String)readProperty(NAME_PROPERTY); + } + + public void setMapToMany(MapToMany mapToMany) { + setToOneTarget(MAP_TO_MANY_PROPERTY, mapToMany, true); + } + + public MapToMany getMapToMany() { + return (MapToMany)readProperty(MAP_TO_MANY_PROPERTY); + } + + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/ClientMeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/ClientMeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/ClientMeaningfulPk.java new file mode 100644 index 0000000..4ff76ee --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/ClientMeaningfulPk.java @@ -0,0 +1,28 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.meaningful_pk; + +import org.apache.cayenne.testdo.meaningful_pk.auto._ClientMeaningfulPk; + +/** + * A persistent class mapped as "MeaningfulPk" Cayenne entity. + */ +public class ClientMeaningfulPk extends _ClientMeaningfulPk { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPk.java new file mode 100644 index 0000000..01f7006 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPk.java @@ -0,0 +1,25 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.testdo.meaningful_pk; + +import org.apache.cayenne.testdo.meaningful_pk.auto._MeaningfulPk; + +public class MeaningfulPk extends _MeaningfulPk { + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_ClientMeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_ClientMeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_ClientMeaningfulPk.java new file mode 100644 index 0000000..6c9be4b --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_ClientMeaningfulPk.java @@ -0,0 +1,37 @@ +package org.apache.cayenne.testdo.meaningful_pk.auto; + +import org.apache.cayenne.PersistentObject; + +/** + * A generated persistent class mapped as "MeaningfulPk" Cayenne entity. It is a good idea to + * avoid changing this class manually, since it will be overwritten next time code is + * regenerated. If you need to make any customizations, put them in a subclass. + */ +public abstract class _ClientMeaningfulPk extends PersistentObject { + + public static final String PK_PROPERTY = "pk"; + + protected String pk; + + public String getPk() { + if(objectContext != null) { + objectContext.prepareForAccess(this, "pk", false); + } + + return pk; + } + public void setPk(String pk) { + if(objectContext != null) { + objectContext.prepareForAccess(this, "pk", false); + } + + Object oldValue = this.pk; + this.pk = pk; + + // notify objectContext about simple property change + if(objectContext != null) { + objectContext.propertyChanged(this, "pk", oldValue, pk); + } + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPk.java new file mode 100644 index 0000000..8e53c38 --- /dev/null +++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPk.java @@ -0,0 +1,24 @@ +package org.apache.cayenne.testdo.meaningful_pk.auto; + +import org.apache.cayenne.CayenneDataObject; + +/** + * Class _MeaningfulPk was generated by Cayenne. + * It is probably a good idea to avoid changing this class manually, + * since it may be overwritten next time code is regenerated. + * If you need to make any customizations, please use subclass. + */ +public abstract class _MeaningfulPk extends CayenneDataObject { + + public static final String PK_PROPERTY = "pk"; + + public static final String PK_PK_COLUMN = "PK"; + + public void setPk(String pk) { + writeProperty(PK_PROPERTY, pk); + } + public String getPk() { + return (String)readProperty(PK_PROPERTY); + } + +} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteCascade.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteCascade.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteCascade.java deleted file mode 100644 index 65f9ce1..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteCascade.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtDeleteCascade; - -/** - * A persistent class mapped as "MtDeleteCascade" Cayenne entity. - */ -public class ClientMtDeleteCascade extends _ClientMtDeleteCascade { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteDeny.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteDeny.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteDeny.java deleted file mode 100644 index 099070d..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteDeny.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtDeleteDeny; - -/** - * A persistent class mapped as "MtDeleteDeny" Cayenne entity. - */ -public class ClientMtDeleteDeny extends _ClientMtDeleteDeny { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteNullify.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteNullify.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteNullify.java deleted file mode 100644 index 6a8ffa2..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteNullify.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtDeleteNullify; - -/** - * A persistent class mapped as "MtDeleteNullify" Cayenne entity. - */ -public class ClientMtDeleteNullify extends _ClientMtDeleteNullify { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteRule.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteRule.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteRule.java deleted file mode 100644 index 975f56a..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtDeleteRule.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtDeleteRule; - -/** - * A persistent class mapped as "MtDeleteRule" Cayenne entity. - */ -public class ClientMtDeleteRule extends _ClientMtDeleteRule { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtLifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtLifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtLifecycles.java deleted file mode 100644 index 2c708a0..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtLifecycles.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtLifecycles; - -/** - * A persistent class mapped as "MtLifecycles" Cayenne entity. - */ -public class ClientMtLifecycles extends _ClientMtLifecycles { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToMany.java deleted file mode 100644 index cafec31..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToMany.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtMapToMany; - -/** - * A persistent class mapped as "MtMapToMany" Cayenne entity. - */ -public class ClientMtMapToMany extends _ClientMtMapToMany { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToManyTarget.java deleted file mode 100644 index 46bd1a9..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMapToManyTarget.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtMapToManyTarget; - -/** - * A persistent class mapped as "MtMapToManyTarget" Cayenne entity. - */ -public class ClientMtMapToManyTarget extends _ClientMtMapToManyTarget { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMeaningfulPk.java deleted file mode 100644 index ef45003..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtMeaningfulPk.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtMeaningfulPk; - -/** - * A persistent class mapped as "MtMeaningfulPk" Cayenne entity. - */ -public class ClientMtMeaningfulPk extends _ClientMtMeaningfulPk { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtReflexive.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtReflexive.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtReflexive.java deleted file mode 100644 index 5c42b96..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtReflexive.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtReflexive; - -/** - * A persistent class mapped as "MtReflexive" Cayenne entity. - */ -public class ClientMtReflexive extends _ClientMtReflexive { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTablePrimitives.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTablePrimitives.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTablePrimitives.java deleted file mode 100644 index 3cb4e60..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTablePrimitives.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtTablePrimitives; - -/** - * A persistent class mapped as "MtTablePrimitives" Cayenne entity. - */ -public class ClientMtTablePrimitives extends _ClientMtTablePrimitives { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneDep.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneDep.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneDep.java deleted file mode 100644 index ae671e4..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneDep.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtTooneDep; - -/** - * A persistent class mapped as "MtTooneDep" Cayenne entity. - */ -public class ClientMtTooneDep extends _ClientMtTooneDep { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneMaster.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneMaster.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneMaster.java deleted file mode 100644 index 4a1baba..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/ClientMtTooneMaster.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._ClientMtTooneMaster; - -/** - * A persistent class mapped as "MtTooneMaster" Cayenne entity. - */ -public class ClientMtTooneMaster extends _ClientMtTooneMaster { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteCascade.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteCascade.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteCascade.java deleted file mode 100644 index c5485bf..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteCascade.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtDeleteCascade; - -public class MtDeleteCascade extends _MtDeleteCascade { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteDeny.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteDeny.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteDeny.java deleted file mode 100644 index 61bd550..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteDeny.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtDeleteDeny; - -public class MtDeleteDeny extends _MtDeleteDeny { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteNullify.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteNullify.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteNullify.java deleted file mode 100644 index ac97d66..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteNullify.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtDeleteNullify; - -public class MtDeleteNullify extends _MtDeleteNullify { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteRule.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteRule.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteRule.java deleted file mode 100644 index da98680..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtDeleteRule.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtDeleteRule; - -public class MtDeleteRule extends _MtDeleteRule { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtLifecycles.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtLifecycles.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtLifecycles.java deleted file mode 100644 index d694496..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtLifecycles.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtLifecycles; - -public class MtLifecycles extends _MtLifecycles { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToMany.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToMany.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToMany.java deleted file mode 100644 index a53bdc9..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToMany.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtMapToMany; - -public class MtMapToMany extends _MtMapToMany { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToManyTarget.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToManyTarget.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToManyTarget.java deleted file mode 100644 index 1f6a4ed..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMapToManyTarget.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtMapToManyTarget; - -public class MtMapToManyTarget extends _MtMapToManyTarget { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMeaningfulPk.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMeaningfulPk.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMeaningfulPk.java deleted file mode 100644 index 3e56dc2..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtMeaningfulPk.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtMeaningfulPk; - -public class MtMeaningfulPk extends _MtMeaningfulPk { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtReflexive.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtReflexive.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtReflexive.java deleted file mode 100644 index ed94c9c..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtReflexive.java +++ /dev/null @@ -1,28 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtReflexive; - -public class MtReflexive extends _MtReflexive { - -} - - - http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTablePrimitives.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTablePrimitives.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTablePrimitives.java deleted file mode 100644 index 0ca23c1..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTablePrimitives.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtTablePrimitives; - -public class MtTablePrimitives extends _MtTablePrimitives { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneDep.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneDep.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneDep.java deleted file mode 100644 index 4b1dbd0..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneDep.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtTooneDep; - -public class MtTooneDep extends _MtTooneDep { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneMaster.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneMaster.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneMaster.java deleted file mode 100644 index 885ab76..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/MtTooneMaster.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ****************************************************************/ -package org.apache.cayenne.testdo.mt; - -import org.apache.cayenne.testdo.mt.auto._MtTooneMaster; - -public class MtTooneMaster extends _MtTooneMaster { - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteCascade.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteCascade.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteCascade.java deleted file mode 100644 index 20d10b5..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteCascade.java +++ /dev/null @@ -1,56 +0,0 @@ -package org.apache.cayenne.testdo.mt.auto; - -import org.apache.cayenne.PersistentObject; -import org.apache.cayenne.ValueHolder; -import org.apache.cayenne.testdo.mt.ClientMtDeleteRule; - -/** - * A generated persistent class mapped as "MtDeleteCascade" Cayenne entity. It is a good idea to - * avoid changing this class manually, since it will be overwritten next time code is - * regenerated. If you need to make any customizations, put them in a subclass. - */ -public abstract class _ClientMtDeleteCascade extends PersistentObject { - - public static final String NAME_PROPERTY = "name"; - public static final String CASCADE_PROPERTY = "cascade"; - - protected String name; - protected ValueHolder cascade; - - public String getName() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - return name; - } - public void setName(String name) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - Object oldValue = this.name; - this.name = name; - - // notify objectContext about simple property change - if(objectContext != null) { - objectContext.propertyChanged(this, "name", oldValue, name); - } - } - - public ClientMtDeleteRule getCascade() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "cascade", true); - } - - return (ClientMtDeleteRule) cascade.getValue(); - } - public void setCascade(ClientMtDeleteRule cascade) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "cascade", true); - } - - this.cascade.setValue(cascade); - } - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteDeny.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteDeny.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteDeny.java deleted file mode 100644 index 97119d0..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteDeny.java +++ /dev/null @@ -1,56 +0,0 @@ -package org.apache.cayenne.testdo.mt.auto; - -import org.apache.cayenne.PersistentObject; -import org.apache.cayenne.ValueHolder; -import org.apache.cayenne.testdo.mt.ClientMtDeleteRule; - -/** - * A generated persistent class mapped as "MtDeleteDeny" Cayenne entity. It is a good idea to - * avoid changing this class manually, since it will be overwritten next time code is - * regenerated. If you need to make any customizations, put them in a subclass. - */ -public abstract class _ClientMtDeleteDeny extends PersistentObject { - - public static final String NAME_PROPERTY = "name"; - public static final String DENY_PROPERTY = "deny"; - - protected String name; - protected ValueHolder deny; - - public String getName() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - return name; - } - public void setName(String name) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - Object oldValue = this.name; - this.name = name; - - // notify objectContext about simple property change - if(objectContext != null) { - objectContext.propertyChanged(this, "name", oldValue, name); - } - } - - public ClientMtDeleteRule getDeny() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "deny", true); - } - - return (ClientMtDeleteRule) deny.getValue(); - } - public void setDeny(ClientMtDeleteRule deny) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "deny", true); - } - - this.deny.setValue(deny); - } - -} http://git-wip-us.apache.org/repos/asf/cayenne/blob/fb8660e7/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteNullify.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteNullify.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteNullify.java deleted file mode 100644 index a0a3fbc..0000000 --- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mt/auto/_ClientMtDeleteNullify.java +++ /dev/null @@ -1,56 +0,0 @@ -package org.apache.cayenne.testdo.mt.auto; - -import org.apache.cayenne.PersistentObject; -import org.apache.cayenne.ValueHolder; -import org.apache.cayenne.testdo.mt.ClientMtDeleteRule; - -/** - * A generated persistent class mapped as "MtDeleteNullify" Cayenne entity. It is a good idea to - * avoid changing this class manually, since it will be overwritten next time code is - * regenerated. If you need to make any customizations, put them in a subclass. - */ -public abstract class _ClientMtDeleteNullify extends PersistentObject { - - public static final String NAME_PROPERTY = "name"; - public static final String NULLIFY_PROPERTY = "nullify"; - - protected String name; - protected ValueHolder nullify; - - public String getName() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - return name; - } - public void setName(String name) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "name", false); - } - - Object oldValue = this.name; - this.name = name; - - // notify objectContext about simple property change - if(objectContext != null) { - objectContext.propertyChanged(this, "name", oldValue, name); - } - } - - public ClientMtDeleteRule getNullify() { - if(objectContext != null) { - objectContext.prepareForAccess(this, "nullify", true); - } - - return (ClientMtDeleteRule) nullify.getValue(); - } - public void setNullify(ClientMtDeleteRule nullify) { - if(objectContext != null) { - objectContext.prepareForAccess(this, "nullify", true); - } - - this.nullify.setValue(nullify); - } - -}