public class PartGeneration
extends java.lang.Object
ProtectedPart
which are tied together
in a DataProtectGeneration
to represent a complete backup.Modifier and Type | Field and Description |
---|---|
java.util.Date |
begin |
java.lang.String |
datatype |
java.util.Date |
end |
int |
generationId |
int |
id |
java.lang.String |
server |
long |
size |
java.lang.String |
tag |
GenerationStatus |
valid |
boolean |
withErrors |
boolean |
withWarnings |
Constructor and Description |
---|
PartGeneration() |
Modifier and Type | Method and Description |
---|---|
static PartGeneration |
create(int id,
java.lang.String server,
java.lang.String tag) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
void |
validate() |
public int id
public int generationId
public java.util.Date begin
public java.util.Date end
public long size
public java.lang.String tag
public java.lang.String server
public boolean withWarnings
public boolean withErrors
public GenerationStatus valid
public java.lang.String datatype
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void validate()
public static PartGeneration create(int id, java.lang.String server, java.lang.String tag)
Copyright © 2021. All Rights Reserved.