Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider committed Jul 11, 2011
1 parent ca0be61 commit b41e1f7
Show file tree
Hide file tree
Showing 73 changed files with 218 additions and 217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
import com.cedarsoft.codegen.model.FieldTypeInformation;
import com.cedarsoft.codegen.model.FieldWithInitializationInfo;
import com.cedarsoft.id.NameSpaceSupport;
import com.cedarsoft.jaxb.AbstractJaxbCollection;
import com.cedarsoft.jaxb.AbstractJaxbObject;
import com.cedarsoft.jaxb.JaxbObject;
import com.cedarsoft.jaxb.JaxbStub;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.UriContext;
import com.cedarsoft.rest.model.AbstractJaxbCollection;
import com.cedarsoft.rest.model.AbstractJaxbObject;
import com.cedarsoft.rest.model.JaxbObject;
import com.cedarsoft.rest.model.JaxbStub;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.server.UriContext;
import com.sun.codemodel.JAnnotationUse;
import com.sun.codemodel.JBlock;
import com.sun.codemodel.JClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
import com.cedarsoft.codegen.model.DomainObjectDescriptor;
import com.cedarsoft.codegen.model.FieldTypeInformation;
import com.cedarsoft.codegen.model.FieldWithInitializationInfo;
import com.cedarsoft.rest.AbstractJaxbTest;
import com.cedarsoft.rest.AbstractMappedJaxbTest;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.JaxbTestUtils;
import com.cedarsoft.rest.SimpleJaxbTest;
import com.cedarsoft.rest.test.AbstractJaxbTest;
import com.cedarsoft.rest.test.AbstractMappedJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.test.JaxbTestUtils;
import com.cedarsoft.rest.test.SimpleJaxbTest;
import com.sun.codemodel.JBlock;
import com.sun.codemodel.JClass;
import com.sun.codemodel.JClassAlreadyExistsException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.cedarsoft.jaxb.AbstractJaxbCollection;
import com.cedarsoft.jaxb.AbstractJaxbObject;
import com.cedarsoft.jaxb.JaxbStub;
import com.cedarsoft.rest.model.AbstractJaxbCollection;
import com.cedarsoft.rest.model.AbstractJaxbObject;
import com.cedarsoft.rest.model.JaxbStub;

@XmlTransient
@XmlAccessorType(XmlAccessType.FIELD)
Expand Down Expand Up @@ -158,9 +158,9 @@ public abstract class BarModel
package com.cedarsoft.rest.generator.test.jaxb;

import javax.ws.rs.core.UriBuilder;
import com.cedarsoft.jaxb.JaxbObject;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.UriContext;
import com.cedarsoft.rest.model.JaxbObject;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.server.UriContext;
import com.cedarsoft.rest.generator.test.BarModel;

public class BarModelMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import java.util.HashSet;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbTestUtils;
import com.cedarsoft.rest.SimpleJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.test.JaxbTestUtils;
import com.cedarsoft.rest.test.SimpleJaxbTest;
import org.junit.experimental.theories.DataPoint;

public class BarModelJaxbTest
Expand Down Expand Up @@ -65,10 +65,10 @@ package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import java.util.HashSet;
import com.cedarsoft.rest.AbstractJaxbTest;
import com.cedarsoft.rest.AbstractMappedJaxbTest;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.test.AbstractJaxbTest;
import com.cedarsoft.rest.test.AbstractMappedJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.generator.test.BarModel;
import org.junit.experimental.theories.DataPoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.cedarsoft.jaxb.AbstractJaxbCollection;
import com.cedarsoft.jaxb.AbstractJaxbObject;
import com.cedarsoft.jaxb.JaxbStub;
import com.cedarsoft.rest.model.AbstractJaxbCollection;
import com.cedarsoft.rest.model.AbstractJaxbObject;
import com.cedarsoft.rest.model.JaxbStub;

@XmlTransient
@XmlAccessorType(XmlAccessType.FIELD)
Expand Down Expand Up @@ -137,9 +137,9 @@ public abstract class FooModel
package com.cedarsoft.rest.generator.test.jaxb;

import javax.ws.rs.core.UriBuilder;
import com.cedarsoft.jaxb.JaxbObject;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.UriContext;
import com.cedarsoft.rest.model.JaxbObject;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.server.UriContext;
import com.cedarsoft.rest.generator.test.FooModel;

public class FooModelMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbTestUtils;
import com.cedarsoft.rest.SimpleJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.test.JaxbTestUtils;
import com.cedarsoft.rest.test.SimpleJaxbTest;
import org.junit.experimental.theories.DataPoint;

public class FooModelJaxbTest
Expand Down Expand Up @@ -57,10 +57,10 @@ public class FooModelJaxbTest
package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import com.cedarsoft.rest.AbstractJaxbTest;
import com.cedarsoft.rest.AbstractMappedJaxbTest;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.test.AbstractJaxbTest;
import com.cedarsoft.rest.test.AbstractMappedJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.generator.test.BarModel;
import com.cedarsoft.rest.generator.test.FooModel;
import org.junit.experimental.theories.DataPoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.cedarsoft.jaxb.AbstractJaxbCollection;
import com.cedarsoft.jaxb.AbstractJaxbObject;
import com.cedarsoft.jaxb.JaxbStub;
import com.cedarsoft.rest.model.AbstractJaxbCollection;
import com.cedarsoft.rest.model.AbstractJaxbObject;
import com.cedarsoft.rest.model.JaxbStub;

@XmlTransient
@XmlAccessorType(XmlAccessType.FIELD)
Expand Down Expand Up @@ -117,9 +117,9 @@ public abstract class Group
package com.cedarsoft.rest.generator.test.jaxb;

import javax.ws.rs.core.UriBuilder;
import com.cedarsoft.jaxb.JaxbObject;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.UriContext;
import com.cedarsoft.rest.model.JaxbObject;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.server.UriContext;
import com.cedarsoft.rest.generator.test.Group;

public class GroupMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbTestUtils;
import com.cedarsoft.rest.SimpleJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.test.JaxbTestUtils;
import com.cedarsoft.rest.test.SimpleJaxbTest;
import org.junit.experimental.theories.DataPoint;

public class GroupJaxbTest
Expand Down Expand Up @@ -55,10 +55,10 @@ public class GroupJaxbTest

package com.cedarsoft.rest.generator.test.jaxb;

import com.cedarsoft.rest.AbstractJaxbTest;
import com.cedarsoft.rest.AbstractMappedJaxbTest;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.test.AbstractJaxbTest;
import com.cedarsoft.rest.test.AbstractMappedJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.generator.test.Group;
import org.junit.experimental.theories.DataPoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import com.cedarsoft.jaxb.AbstractJaxbCollection;
import com.cedarsoft.jaxb.AbstractJaxbObject;
import com.cedarsoft.jaxb.JaxbStub;
import com.cedarsoft.rest.model.AbstractJaxbCollection;
import com.cedarsoft.rest.model.AbstractJaxbObject;
import com.cedarsoft.rest.model.JaxbStub;

@XmlTransient
@XmlAccessorType(XmlAccessType.FIELD)
Expand Down Expand Up @@ -155,9 +155,9 @@ public abstract class User
package com.cedarsoft.rest.generator.test.jaxb;

import javax.ws.rs.core.UriBuilder;
import com.cedarsoft.jaxb.JaxbObject;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.UriContext;
import com.cedarsoft.rest.model.JaxbObject;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.server.UriContext;
import com.cedarsoft.rest.generator.test.User;

public class UserMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package com.cedarsoft.rest.generator.test.jaxb;

import java.util.Arrays;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbTestUtils;
import com.cedarsoft.rest.SimpleJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.test.JaxbTestUtils;
import com.cedarsoft.rest.test.SimpleJaxbTest;
import org.junit.experimental.theories.DataPoint;

public class UserJaxbTest
Expand Down Expand Up @@ -64,10 +64,10 @@ public class UserJaxbTest

package com.cedarsoft.rest.generator.test.jaxb;

import com.cedarsoft.rest.AbstractJaxbTest;
import com.cedarsoft.rest.AbstractMappedJaxbTest;
import com.cedarsoft.rest.Entry;
import com.cedarsoft.rest.JaxbMapping;
import com.cedarsoft.rest.test.AbstractJaxbTest;
import com.cedarsoft.rest.test.AbstractMappedJaxbTest;
import com.cedarsoft.rest.test.Entry;
import com.cedarsoft.rest.server.JaxbMapping;
import com.cedarsoft.rest.generator.test.Group;
import com.cedarsoft.rest.generator.test.User;
import org.junit.experimental.theories.DataPoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.rest;
package com.cedarsoft.rest.jersey;

import com.google.inject.Guice;
import com.google.inject.Injector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.rest;
package com.cedarsoft.rest.jersey;

import com.google.common.base.Function;
import com.google.common.base.Joiner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.rest;
package com.cedarsoft.rest.jersey;

import com.google.inject.AbstractModule;
import com.google.inject.Provides;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;


import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;


import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;


import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;

import javax.annotation.Nonnull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;


import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;

import org.junit.*;
import org.junit.rules.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
* have any questions.
*/

package com.cedarsoft.jaxb;
package com.cedarsoft.rest.model;

import org.junit.*;
import org.junit.rules.*;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@
* have any questions.
*/

package com.cedarsoft.generator.maven;
package com.cedarsoft.rest.generator.maven.plugin;

import com.cedarsoft.codegen.AbstractGenerator;
import com.cedarsoft.codegen.GeneratorConfiguration;
import com.cedarsoft.codegen.parser.Classpath;
import com.google.common.collect.Sets;
import org.apache.maven.artifact.DependencyResolutionRequiredException;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.codehaus.plexus.util.DirectoryScanner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.generator.maven;
package com.cedarsoft.rest.generator.maven.plugin;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.generator.maven;
package com.cedarsoft.rest.generator.maven.plugin;

import com.cedarsoft.codegen.AbstractGenerator;
import com.cedarsoft.rest.generator.JaxbObjectGenerator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* have any questions.
*/

package com.cedarsoft.generator.maven;
package com.cedarsoft.rest.generator.maven.plugin;

import com.google.common.base.Splitter;
import org.apache.maven.plugin.logging.Log;
Expand Down
Loading

0 comments on commit b41e1f7

Please sign in to comment.