Skip to content

Commit

Permalink
feat(CB2-15349): re-ordering getters and setters
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielRichards1 committed Dec 12, 2024
1 parent a17ca83 commit 3819cf1
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions src/main/java/uk/gov/dvsa/model/cvs/AbandonedCertificate.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
public abstract class AbandonedCertificate extends Document {
@JsonProperty("ABANDONED_DATA")
protected AbandonedData data;
public AbandonedData getData() {
return data;
}

public Document setData(AbandonedData data) {
this.data = data;
Expand All @@ -19,31 +16,41 @@ public Document setData(AbandonedData data) {

@JsonProperty("Signature")
private Signature signature;
public Signature getSignature() {
return signature;
}
public void setSignature(Signature signature) {
this.signature = signature;
}

public String getDocumentType() {
return this.getDocumentName().split("/")[1];
}

protected String regulationText;
public String getRegulationText() { return this.regulationText; }

protected String vehicleTypeText;
public String getVehicleTypeText() { return this.vehicleTypeText; }

protected String titleTextIncludingRollingHeaders;
public String getTitleTextIncludingRollingHeaders() {
return this.titleTextIncludingRollingHeaders;
}

protected String sectionTextRef;
public String getSectionTextRef() { return this.sectionTextRef; }

protected String testNumber;

public AbandonedData getData() {
return data;
}

public Signature getSignature() {
return signature;
}

public void setSignature(Signature signature) {
this.signature = signature;
}

public String getRegulationText() { return this.regulationText; }

public String getVehicleTypeText() { return this.vehicleTypeText; }

public String getSectionTextRef() { return this.sectionTextRef; }

public String getTestNumber() { return testNumber; }
}

0 comments on commit 3819cf1

Please sign in to comment.