Permalink
Browse files

Changed code formatter

  • Loading branch information...
1 parent 1deef7c commit 4d735a1d2e57c2527dd1380d184aef8f7f6b4313 @gastaldi gastaldi committed Mar 6, 2014
@@ -8,62 +8,87 @@
/**
* Represents a project
- *
+ *
* @author Shane Bryzak
*/
@Entity
-public class Project implements Serializable {
-
- private static final long serialVersionUID = 5410491316071577992L;
-
- @Id @GeneratedValue
- private Long id;
-
- private String name;
-
- private String topLevelPackage;
-
- private String version;
-
- private String finalName;
-
- private ProjectType type;
-
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getTopLevelPackage() {
- return topLevelPackage;
- }
- public void setTopLevelPackage(String topLevelPackage) {
- this.topLevelPackage = topLevelPackage;
- }
- public String getVersion() {
- return version;
- }
- public void setVersion(String version) {
- this.version = version;
- }
- public String getFinalName() {
- return finalName;
- }
- public void setFinalName(String finalName) {
- this.finalName = finalName;
- }
- public ProjectType getType() {
- return type;
- }
- public void setType(ProjectType type) {
- this.type = type;
- }
+public class Project implements Serializable
+{
+
+ private static final long serialVersionUID = 5410491316071577992L;
+
+ @Id
+ @GeneratedValue
+ private Long id;
+
+ private String name;
+
+ private String topLevelPackage;
+
+ private String version;
+
+ private String finalName;
+
+ private ProjectType type;
+
+ public Long getId()
+ {
+ return id;
+ }
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getTopLevelPackage()
+ {
+ return topLevelPackage;
+ }
+
+ public void setTopLevelPackage(String topLevelPackage)
+ {
+ this.topLevelPackage = topLevelPackage;
+ }
+
+ public String getVersion()
+ {
+ return version;
+ }
+
+ public void setVersion(String version)
+ {
+ this.version = version;
+ }
+
+ public String getFinalName()
+ {
+ return finalName;
+ }
+
+ public void setFinalName(String finalName)
+ {
+ this.finalName = finalName;
+ }
+
+ public ProjectType getType()
+ {
+ return type;
+ }
+
+ public void setType(ProjectType type)
+ {
+ this.type = type;
+ }
}
@@ -9,65 +9,77 @@
/**
* Represents a single project resource, such as a source file
- *
+ *
* @author Shane Bryzak
- *
+ *
*/
@Entity
-public class ProjectResource implements Serializable {
+public class ProjectResource implements Serializable
+{
- private static final long serialVersionUID = -4146308990787564792L;
+ private static final long serialVersionUID = -4146308990787564792L;
- @Id @GeneratedValue
- private Long id;
+ @Id
+ @GeneratedValue
+ private Long id;
- @ManyToOne
- private Project project;
+ @ManyToOne
+ private Project project;
- private String path;
+ private String path;
- private String name;
+ private String name;
- private String resourceType;
+ private String resourceType;
- public Long getId() {
- return id;
- }
+ public Long getId()
+ {
+ return id;
+ }
- public void setId(Long id) {
- this.id = id;
- }
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
- public Project getProject() {
- return project;
- }
+ public Project getProject()
+ {
+ return project;
+ }
- public void setProject(Project project) {
- this.project = project;
- }
+ public void setProject(Project project)
+ {
+ this.project = project;
+ }
- public String getPath() {
- return path;
- }
+ public String getPath()
+ {
+ return path;
+ }
- public void setPath(String path) {
- this.path = path;
- }
+ public void setPath(String path)
+ {
+ this.path = path;
+ }
- public String getName() {
- return name;
- }
+ public String getName()
+ {
+ return name;
+ }
- public void setName(String name) {
- this.name = name;
- }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
- public String getResourceType() {
- return resourceType;
- }
+ public String getResourceType()
+ {
+ return resourceType;
+ }
- public void setResourceType(String resourceType) {
- this.resourceType = resourceType;
- }
+ public void setResourceType(String resourceType)
+ {
+ this.resourceType = resourceType;
+ }
}
@@ -8,30 +8,36 @@
/**
* Represents the project type
- *
+ *
* @author Shane Bryzak
*/
@Entity
-public class ProjectType implements Serializable {
- private static final long serialVersionUID = -7274721711808450469L;
-
- @Id @GeneratedValue
- private Long id;
- private String description;
-
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
+public class ProjectType implements Serializable
+{
+ private static final long serialVersionUID = -7274721711808450469L;
+
+ @Id
+ @GeneratedValue
+ private Long id;
+ private String description;
+
+ public Long getId()
+ {
+ return id;
+ }
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public void setDescription(String description)
+ {
+ this.description = description;
+ }
}
@@ -9,33 +9,39 @@
/**
* Contains the binary content of a resource
- *
+ *
* @author Shane Bryzak
*/
@Entity
-public class ResourceContent implements Serializable {
+public class ResourceContent implements Serializable
+{
- private static final long serialVersionUID = -8308595869048197031L;
+ private static final long serialVersionUID = -8308595869048197031L;
- @Id @OneToOne
- private ProjectResource resource;
+ @Id
+ @OneToOne
+ private ProjectResource resource;
- @Lob
- private byte[] content;
+ @Lob
+ private byte[] content;
- public ProjectResource getResource() {
- return resource;
- }
+ public ProjectResource getResource()
+ {
+ return resource;
+ }
- public void setResource(ProjectResource resource) {
- this.resource = resource;
- }
+ public void setResource(ProjectResource resource)
+ {
+ this.resource = resource;
+ }
- public byte[] getContent() {
- return content;
- }
+ public byte[] getContent()
+ {
+ return content;
+ }
- public void setContent(byte[] content) {
- this.content = content;
- }
+ public void setContent(byte[] content)
+ {
+ this.content = content;
+ }
}
Oops, something went wrong. Retry.

0 comments on commit 4d735a1

Please sign in to comment.