Skip to content

Commit

Permalink
feat: created Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheaGjerde committed Mar 1, 2026
1 parent 0b005bc commit d838299
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/main/java/edu/group5/app/model/Repository.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
package edu.group5.app.model;

public class Repository {
/**
* Represents a repository.
*/
public abstract class Repository {
/**
* The underlying data structure that holds the repository's content.
*/
protected Object content;

/**
* Constructs a new Repository with the specified content.
*
* @param content the underlying data structure used to store entities
*/
protected Repository(Object content) {
this.content = content;
}

/**
* @return content of the repo
*/
public abstract Object getContent();
}

0 comments on commit d838299

Please sign in to comment.