liquibase.changelog.ChangeLogProperty Maven / Gradle / Ivy
package liquibase.changelog;
import liquibase.serializer.AbstractLiquibaseSerializable;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.Set;
public class ChangeLogProperty extends AbstractLiquibaseSerializable implements ChangeLogChild {
private String file;
private String name;
private String value;
private String context;
private String labels;
private String dbms;
private Boolean global;
@Override
public Set getSerializableFields() {
return new LinkedHashSet<>(Arrays.asList("file", "name", "value", "context", "labels", "dbms", "global"));
}
@Override
public String getSerializedObjectName() {
return "property";
}
@Override
public String getSerializedObjectNamespace() {
return STANDARD_CHANGELOG_NAMESPACE;
}
public String getFile() {
return file;
}
public void setFile(String file) {
this.file = file;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context;
}
public String getLabels() {
return labels;
}
public void setLabels(String labels) {
this.labels = labels;
}
public String getDbms() {
return dbms;
}
public void setDbms(String dbms) {
this.dbms = dbms;
}
public Boolean getGlobal() {
return global;
}
public void setGlobal(Boolean global) {
this.global = global;
}
}