Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Zaichuk/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions Zaichuk/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Zaichuk&apos;s blog</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions Zaichuk/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
12 changes: 12 additions & 0 deletions Zaichuk/src/major/Butyakov.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
*
*/
package major;

/**
* @author ezaichuk
*
*/
public class Butyakov extends User{

}
16 changes: 16 additions & 0 deletions Zaichuk/src/major/Comment.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package major;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Comment {


String Body;
Date CommentPublishdate;

public void postComment(){

}

}
23 changes: 23 additions & 0 deletions Zaichuk/src/major/Post.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
*
*/
package major;

/**
* @author ezaichuk
*
*/

import java.text.SimpleDateFormat;
import java.util.Date;

public class Post {

Long PostId;
String Header;
String Body;
Date PostPublishdate;



}
18 changes: 18 additions & 0 deletions Zaichuk/src/major/User.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package major;

public abstract class User {

Long id;
String username;
String password;
String firstName;
String lastName;
String e_mail;
boolean isLoggedin;

public boolean doLogin(String Username, String Password) {

return isLoggedin;
}

}
15 changes: 15 additions & 0 deletions Zaichuk/src/major/WebBlog.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package major;

public class WebBlog {

int blogId;
String[] topics;
author[] authors;

public WebBlog(int id){
blogId = id;
}



}
11 changes: 11 additions & 0 deletions Zaichuk/src/major/author.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package major;

public class author extends User{

String degree;

public void publishPost(Post post){

}

}
26 changes: 26 additions & 0 deletions Zaichuk/src/major/reader.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
*
*/
package major;

/**
* @author ezaichuk
*
*/
public class reader extends User{

String Country;
String City;


public reader(String username, String firstName, String lastName) {
this.username = username;
this.firstName = firstName;
this.lastName = lastName;
}


public void publishComment(Comment comment){

}
}
Binary file added bin/helpers/Post.class
Binary file not shown.
Binary file added bin/helpers/User.class
Binary file not shown.
Binary file added bin/major/Article.class
Binary file not shown.
Binary file added bin/major/Comment.class
Binary file not shown.
Binary file added bin/major/Moderator.class
Binary file not shown.
Binary file added bin/major/WebBlog.class
Binary file not shown.
Binary file added bin/major/author.class
Binary file not shown.
Binary file added bin/major/reader.class
Binary file not shown.