Class ComplianceCheckSettings

java.lang.Object
org.dcom.core.services.ComplianceCheckSettings

public class ComplianceCheckSettings extends Object
The programmatic implementation and helper serialisation/desieralisation methods of the settings required to initiate a compliance check.
  • Constructor Details

    • ComplianceCheckSettings

      public ComplianceCheckSettings(@JsonProperty("operationMode") String _operationMode, @JsonProperty("lifecyclestage") String _lifecyclestage, @JsonProperty("securityType") String _securityType, @JsonProperty("securityURI") String _securityURI, @JsonProperty("documentReference") ArrayList<String> _documentReference, @JsonProperty("modelServerType") String _modelServerType, @JsonProperty("modelServerURL") String _modelServerURL, @JsonProperty("uprn") String _uprn, @JsonProperty("regulatorIndentification") String _regulatorIndentification, @JsonProperty("address") String _address, @JsonProperty("description") String _description, @JsonProperty("presentUse") String _presentUse, @JsonProperty("proposedUse") String _proposedUse, @JsonProperty("fireSafetyOrder") boolean _fireSafetyOrder, @JsonProperty("consentToExtension") boolean _consentToExtension, @JsonProperty("consentToConditions") boolean _consentToConditions, @JsonProperty("electricalSafetyConfirmation") boolean _electricalSafetyConfirmation)
  • Method Details

    • fromJSON

      public static ComplianceCheckSettings fromJSON(String json)
    • fromXML

      public static ComplianceCheckSettings fromXML(String xml)
    • toJSON

      public String toJSON()
    • addIndividual

      public void addIndividual(ComplianceCheckIndividual individual)
    • getIndividual

      public ComplianceCheckIndividual getIndividual(int i)
    • getNoIndividuals

      public int getNoIndividuals()
    • getSecurityType

      public String getSecurityType()
    • getSecurityURI

      public String getSecurityURI()
    • getOperationModel

      public String getOperationModel()
    • getLifecyclestage

      public String getLifecyclestage()
    • getDocumentReference

      public ArrayList<String> getDocumentReference()
    • getModelServerType

      public String getModelServerType()
    • getModelServerURL

      public String getModelServerURL()
    • getRegulatorIndentification

      public String getRegulatorIndentification()
    • getUPRN

      public String getUPRN()
    • getAddress

      public String getAddress()
    • getDescription

      public String getDescription()
    • getPresentUse

      public String getPresentUse()
    • getProposedUse

      public String getProposedUse()
    • getFireSafetyOrder

      public boolean getFireSafetyOrder()
    • getConsentToExtension

      public boolean getConsentToExtension()
    • getConsentToConditions

      public boolean getConsentToConditions()
    • getElectricalSafetyConfirmation

      public boolean getElectricalSafetyConfirmation()