84 lines
1.9 KiB
Java
84 lines
1.9 KiB
Java
package org.opencdmp.commons.types.dmpblueprint.importexport;
|
|
|
|
import org.opencdmp.commons.enums.DmpBlueprintSystemFieldType;
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
import jakarta.xml.bind.annotation.XmlAttribute;
|
|
|
|
import java.util.UUID;
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class BlueprintSystemFieldImportExport {
|
|
|
|
@XmlAttribute(name = "id")
|
|
private UUID id;
|
|
@XmlAttribute(name = "type")
|
|
private DmpBlueprintSystemFieldType type;
|
|
@XmlAttribute(name = "label")
|
|
private String label;
|
|
@XmlAttribute(name = "placeholder")
|
|
private String placeholder;
|
|
@XmlAttribute(name = "description")
|
|
private String description;
|
|
@XmlAttribute(name = "ordinal")
|
|
private int ordinal;
|
|
@XmlAttribute(name = "required")
|
|
private boolean required;
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public DmpBlueprintSystemFieldType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(DmpBlueprintSystemFieldType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public String getPlaceholder() {
|
|
return placeholder;
|
|
}
|
|
|
|
public void setPlaceholder(String placeholder) {
|
|
this.placeholder = placeholder;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public int getOrdinal() {
|
|
return ordinal;
|
|
}
|
|
|
|
public void setOrdinal(int ordinal) {
|
|
this.ordinal = ordinal;
|
|
}
|
|
|
|
public boolean isRequired() {
|
|
return required;
|
|
}
|
|
|
|
public void setRequired(boolean required) {
|
|
this.required = required;
|
|
}
|
|
}
|