mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
DocumentPathを廃止, 作者情報をMetaに移動WIP
This commit is contained in:
1 file changed
+1
-43
@@ -18,16 +18,6 @@ public class DocumentDetail {
|
|||||||
*/
|
*/
|
||||||
DocumentMeta meta;
|
DocumentMeta meta;
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントのパス(DocumentPathインスタンス)
|
|
||||||
*/
|
|
||||||
DocumentPath path;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントの作者(String)
|
|
||||||
*/
|
|
||||||
String author;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ドキュメントのデフォルトブランチ(String)
|
* ドキュメントのデフォルトブランチ(String)
|
||||||
*/
|
*/
|
||||||
@@ -39,10 +29,8 @@ public class DocumentDetail {
|
|||||||
public DocumentDetail() {
|
public DocumentDetail() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public DocumentDetail(DocumentMeta meta, DocumentPath path, String author, String defaultBranch) {
|
public DocumentDetail(DocumentMeta meta, String defaultBranch) {
|
||||||
this.meta = meta;
|
this.meta = meta;
|
||||||
this.path = path;
|
|
||||||
this.author = author;
|
|
||||||
this.defaultBranch = defaultBranch;
|
this.defaultBranch = defaultBranch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,20 +43,6 @@ public class DocumentDetail {
|
|||||||
return meta;
|
return meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントのパス(DocumentPathインスタンス)を取得する
|
|
||||||
*/
|
|
||||||
public DocumentPath getPath() {
|
|
||||||
return path;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントの作者(String)を取得する
|
|
||||||
*/
|
|
||||||
public String getAuthor() {
|
|
||||||
return author;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ドキュメントのデフォルトブランチ(String)を取得する
|
* ドキュメントのデフォルトブランチ(String)を取得する
|
||||||
*/
|
*/
|
||||||
@@ -94,22 +68,6 @@ public class DocumentDetail {
|
|||||||
this.meta = meta;
|
this.meta = meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントのパス(DocumentPathインスタンス)を設定する
|
|
||||||
* @param path DocumentPathインスタンス
|
|
||||||
*/
|
|
||||||
public void setPath(DocumentPath path) {
|
|
||||||
this.path = path;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ドキュメントの作者(String)を設定する
|
|
||||||
* @param author ドキュメントの作者
|
|
||||||
*/
|
|
||||||
public void setAuthor(String author) {
|
|
||||||
this.author = author;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ドキュメントのデフォルトブランチ(String)を設定する
|
* ドキュメントのデフォルトブランチ(String)を設定する
|
||||||
* @param defaultBranch ドキュメントのデフォルトブランチ
|
* @param defaultBranch ドキュメントのデフォルトブランチ
|
||||||
|
|||||||
Reference in new issue
Block a user