69 lines
1.5 KiB
Java
69 lines
1.5 KiB
Java
package info.frostfs.sdk.dto;
|
|
|
|
import info.frostfs.sdk.dto.object.ObjectHeader;
|
|
import info.frostfs.sdk.dto.object.ObjectId;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class Split {
|
|
private final List<ObjectId> children;
|
|
private SplitId splitId;
|
|
private ObjectId parent;
|
|
private ObjectId previous;
|
|
private Signature parentSignature;
|
|
private ObjectHeader parentHeader;
|
|
|
|
public Split() {
|
|
this(new SplitId());
|
|
}
|
|
|
|
public Split(SplitId splitId) {
|
|
this.splitId = splitId;
|
|
this.children = new ArrayList<>();
|
|
}
|
|
|
|
public SplitId getSplitId() {
|
|
return splitId;
|
|
}
|
|
|
|
private void setSplitId(SplitId splitId) {
|
|
this.splitId = splitId;
|
|
}
|
|
|
|
public ObjectId getParent() {
|
|
return parent;
|
|
}
|
|
|
|
public void setParent(ObjectId parent) {
|
|
this.parent = parent;
|
|
}
|
|
|
|
public ObjectId getPrevious() {
|
|
return previous;
|
|
}
|
|
|
|
public void setPrevious(ObjectId previous) {
|
|
this.previous = previous;
|
|
}
|
|
|
|
public Signature getParentSignature() {
|
|
return parentSignature;
|
|
}
|
|
|
|
public void setParentSignature(Signature parentSignature) {
|
|
this.parentSignature = parentSignature;
|
|
}
|
|
|
|
public ObjectHeader getParentHeader() {
|
|
return parentHeader;
|
|
}
|
|
|
|
public void setParentHeader(ObjectHeader parentHeader) {
|
|
this.parentHeader = parentHeader;
|
|
}
|
|
|
|
public List<ObjectId> getChildren() {
|
|
return children;
|
|
}
|
|
}
|