se.bjurr.violations.lib.model.generated.sarif.ExternalPropertyFileReferences Maven / Gradle / Ivy
package se.bjurr.violations.lib.model.generated.sarif;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* References to external property files that should be inlined with the content of a root log file.
*
*/
public class ExternalPropertyFileReferences {
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
private ExternalPropertyFileReference conversion;
/**
* An array of external property files containing a run.graphs object to be merged with the root log file.
*
*/
private Set graphs = new LinkedHashSet();
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
private ExternalPropertyFileReference externalizedProperties;
/**
* An array of external property files containing run.artifacts arrays to be merged with the root log file.
*
*/
private Set artifacts = new LinkedHashSet();
/**
* An array of external property files containing run.invocations arrays to be merged with the root log file.
*
*/
private Set invocations = new LinkedHashSet();
/**
* An array of external property files containing run.logicalLocations arrays to be merged with the root log file.
*
*/
private Set logicalLocations = new LinkedHashSet();
/**
* An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.
*
*/
private Set threadFlowLocations = new LinkedHashSet();
/**
* An array of external property files containing run.results arrays to be merged with the root log file.
*
*/
private Set results = new LinkedHashSet();
/**
* An array of external property files containing run.taxonomies arrays to be merged with the root log file.
*
*/
private Set taxonomies = new LinkedHashSet();
/**
* An array of external property files containing run.addresses arrays to be merged with the root log file.
*
*/
private Set addresses = new LinkedHashSet();
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
private ExternalPropertyFileReference driver;
/**
* An array of external property files containing run.extensions arrays to be merged with the root log file.
*
*/
private Set extensions = new LinkedHashSet();
/**
* An array of external property files containing run.policies arrays to be merged with the root log file.
*
*/
private Set policies = new LinkedHashSet();
/**
* An array of external property files containing run.translations arrays to be merged with the root log file.
*
*/
private Set translations = new LinkedHashSet();
/**
* An array of external property files containing run.requests arrays to be merged with the root log file.
*
*/
private Set webRequests = new LinkedHashSet();
/**
* An array of external property files containing run.responses arrays to be merged with the root log file.
*
*/
private Set webResponses = new LinkedHashSet();
/**
* Key/value pairs that provide additional information about the object.
*
*/
private PropertyBag properties;
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public ExternalPropertyFileReference getConversion() {
return conversion;
}
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public void setConversion(ExternalPropertyFileReference conversion) {
this.conversion = conversion;
}
public ExternalPropertyFileReferences withConversion(ExternalPropertyFileReference conversion) {
this.conversion = conversion;
return this;
}
/**
* An array of external property files containing a run.graphs object to be merged with the root log file.
*
*/
public Set getGraphs() {
return graphs;
}
/**
* An array of external property files containing a run.graphs object to be merged with the root log file.
*
*/
public void setGraphs(Set graphs) {
this.graphs = graphs;
}
public ExternalPropertyFileReferences withGraphs(Set graphs) {
this.graphs = graphs;
return this;
}
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public ExternalPropertyFileReference getExternalizedProperties() {
return externalizedProperties;
}
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public void setExternalizedProperties(ExternalPropertyFileReference externalizedProperties) {
this.externalizedProperties = externalizedProperties;
}
public ExternalPropertyFileReferences withExternalizedProperties(ExternalPropertyFileReference externalizedProperties) {
this.externalizedProperties = externalizedProperties;
return this;
}
/**
* An array of external property files containing run.artifacts arrays to be merged with the root log file.
*
*/
public Set getArtifacts() {
return artifacts;
}
/**
* An array of external property files containing run.artifacts arrays to be merged with the root log file.
*
*/
public void setArtifacts(Set artifacts) {
this.artifacts = artifacts;
}
public ExternalPropertyFileReferences withArtifacts(Set artifacts) {
this.artifacts = artifacts;
return this;
}
/**
* An array of external property files containing run.invocations arrays to be merged with the root log file.
*
*/
public Set getInvocations() {
return invocations;
}
/**
* An array of external property files containing run.invocations arrays to be merged with the root log file.
*
*/
public void setInvocations(Set invocations) {
this.invocations = invocations;
}
public ExternalPropertyFileReferences withInvocations(Set invocations) {
this.invocations = invocations;
return this;
}
/**
* An array of external property files containing run.logicalLocations arrays to be merged with the root log file.
*
*/
public Set getLogicalLocations() {
return logicalLocations;
}
/**
* An array of external property files containing run.logicalLocations arrays to be merged with the root log file.
*
*/
public void setLogicalLocations(Set logicalLocations) {
this.logicalLocations = logicalLocations;
}
public ExternalPropertyFileReferences withLogicalLocations(Set logicalLocations) {
this.logicalLocations = logicalLocations;
return this;
}
/**
* An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.
*
*/
public Set getThreadFlowLocations() {
return threadFlowLocations;
}
/**
* An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.
*
*/
public void setThreadFlowLocations(Set threadFlowLocations) {
this.threadFlowLocations = threadFlowLocations;
}
public ExternalPropertyFileReferences withThreadFlowLocations(Set threadFlowLocations) {
this.threadFlowLocations = threadFlowLocations;
return this;
}
/**
* An array of external property files containing run.results arrays to be merged with the root log file.
*
*/
public Set getResults() {
return results;
}
/**
* An array of external property files containing run.results arrays to be merged with the root log file.
*
*/
public void setResults(Set results) {
this.results = results;
}
public ExternalPropertyFileReferences withResults(Set results) {
this.results = results;
return this;
}
/**
* An array of external property files containing run.taxonomies arrays to be merged with the root log file.
*
*/
public Set getTaxonomies() {
return taxonomies;
}
/**
* An array of external property files containing run.taxonomies arrays to be merged with the root log file.
*
*/
public void setTaxonomies(Set taxonomies) {
this.taxonomies = taxonomies;
}
public ExternalPropertyFileReferences withTaxonomies(Set taxonomies) {
this.taxonomies = taxonomies;
return this;
}
/**
* An array of external property files containing run.addresses arrays to be merged with the root log file.
*
*/
public Set getAddresses() {
return addresses;
}
/**
* An array of external property files containing run.addresses arrays to be merged with the root log file.
*
*/
public void setAddresses(Set addresses) {
this.addresses = addresses;
}
public ExternalPropertyFileReferences withAddresses(Set addresses) {
this.addresses = addresses;
return this;
}
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public ExternalPropertyFileReference getDriver() {
return driver;
}
/**
* Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.
*
*/
public void setDriver(ExternalPropertyFileReference driver) {
this.driver = driver;
}
public ExternalPropertyFileReferences withDriver(ExternalPropertyFileReference driver) {
this.driver = driver;
return this;
}
/**
* An array of external property files containing run.extensions arrays to be merged with the root log file.
*
*/
public Set getExtensions() {
return extensions;
}
/**
* An array of external property files containing run.extensions arrays to be merged with the root log file.
*
*/
public void setExtensions(Set extensions) {
this.extensions = extensions;
}
public ExternalPropertyFileReferences withExtensions(Set extensions) {
this.extensions = extensions;
return this;
}
/**
* An array of external property files containing run.policies arrays to be merged with the root log file.
*
*/
public Set getPolicies() {
return policies;
}
/**
* An array of external property files containing run.policies arrays to be merged with the root log file.
*
*/
public void setPolicies(Set policies) {
this.policies = policies;
}
public ExternalPropertyFileReferences withPolicies(Set policies) {
this.policies = policies;
return this;
}
/**
* An array of external property files containing run.translations arrays to be merged with the root log file.
*
*/
public Set getTranslations() {
return translations;
}
/**
* An array of external property files containing run.translations arrays to be merged with the root log file.
*
*/
public void setTranslations(Set translations) {
this.translations = translations;
}
public ExternalPropertyFileReferences withTranslations(Set translations) {
this.translations = translations;
return this;
}
/**
* An array of external property files containing run.requests arrays to be merged with the root log file.
*
*/
public Set getWebRequests() {
return webRequests;
}
/**
* An array of external property files containing run.requests arrays to be merged with the root log file.
*
*/
public void setWebRequests(Set webRequests) {
this.webRequests = webRequests;
}
public ExternalPropertyFileReferences withWebRequests(Set webRequests) {
this.webRequests = webRequests;
return this;
}
/**
* An array of external property files containing run.responses arrays to be merged with the root log file.
*
*/
public Set getWebResponses() {
return webResponses;
}
/**
* An array of external property files containing run.responses arrays to be merged with the root log file.
*
*/
public void setWebResponses(Set webResponses) {
this.webResponses = webResponses;
}
public ExternalPropertyFileReferences withWebResponses(Set webResponses) {
this.webResponses = webResponses;
return this;
}
/**
* Key/value pairs that provide additional information about the object.
*
*/
public PropertyBag getProperties() {
return properties;
}
/**
* Key/value pairs that provide additional information about the object.
*
*/
public void setProperties(PropertyBag properties) {
this.properties = properties;
}
public ExternalPropertyFileReferences withProperties(PropertyBag properties) {
this.properties = properties;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ExternalPropertyFileReferences.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("conversion");
sb.append('=');
sb.append(((this.conversion == null)?"":this.conversion));
sb.append(',');
sb.append("graphs");
sb.append('=');
sb.append(((this.graphs == null)?"":this.graphs));
sb.append(',');
sb.append("externalizedProperties");
sb.append('=');
sb.append(((this.externalizedProperties == null)?"":this.externalizedProperties));
sb.append(',');
sb.append("artifacts");
sb.append('=');
sb.append(((this.artifacts == null)?"":this.artifacts));
sb.append(',');
sb.append("invocations");
sb.append('=');
sb.append(((this.invocations == null)?"":this.invocations));
sb.append(',');
sb.append("logicalLocations");
sb.append('=');
sb.append(((this.logicalLocations == null)?"":this.logicalLocations));
sb.append(',');
sb.append("threadFlowLocations");
sb.append('=');
sb.append(((this.threadFlowLocations == null)?"":this.threadFlowLocations));
sb.append(',');
sb.append("results");
sb.append('=');
sb.append(((this.results == null)?"":this.results));
sb.append(',');
sb.append("taxonomies");
sb.append('=');
sb.append(((this.taxonomies == null)?"":this.taxonomies));
sb.append(',');
sb.append("addresses");
sb.append('=');
sb.append(((this.addresses == null)?"":this.addresses));
sb.append(',');
sb.append("driver");
sb.append('=');
sb.append(((this.driver == null)?"":this.driver));
sb.append(',');
sb.append("extensions");
sb.append('=');
sb.append(((this.extensions == null)?"":this.extensions));
sb.append(',');
sb.append("policies");
sb.append('=');
sb.append(((this.policies == null)?"":this.policies));
sb.append(',');
sb.append("translations");
sb.append('=');
sb.append(((this.translations == null)?"":this.translations));
sb.append(',');
sb.append("webRequests");
sb.append('=');
sb.append(((this.webRequests == null)?"":this.webRequests));
sb.append(',');
sb.append("webResponses");
sb.append('=');
sb.append(((this.webResponses == null)?"":this.webResponses));
sb.append(',');
sb.append("properties");
sb.append('=');
sb.append(((this.properties == null)?"":this.properties));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.addresses == null)? 0 :this.addresses.hashCode()));
result = ((result* 31)+((this.logicalLocations == null)? 0 :this.logicalLocations.hashCode()));
result = ((result* 31)+((this.policies == null)? 0 :this.policies.hashCode()));
result = ((result* 31)+((this.externalizedProperties == null)? 0 :this.externalizedProperties.hashCode()));
result = ((result* 31)+((this.invocations == null)? 0 :this.invocations.hashCode()));
result = ((result* 31)+((this.graphs == null)? 0 :this.graphs.hashCode()));
result = ((result* 31)+((this.extensions == null)? 0 :this.extensions.hashCode()));
result = ((result* 31)+((this.driver == null)? 0 :this.driver.hashCode()));
result = ((result* 31)+((this.taxonomies == null)? 0 :this.taxonomies.hashCode()));
result = ((result* 31)+((this.translations == null)? 0 :this.translations.hashCode()));
result = ((result* 31)+((this.webResponses == null)? 0 :this.webResponses.hashCode()));
result = ((result* 31)+((this.webRequests == null)? 0 :this.webRequests.hashCode()));
result = ((result* 31)+((this.results == null)? 0 :this.results.hashCode()));
result = ((result* 31)+((this.threadFlowLocations == null)? 0 :this.threadFlowLocations.hashCode()));
result = ((result* 31)+((this.properties == null)? 0 :this.properties.hashCode()));
result = ((result* 31)+((this.conversion == null)? 0 :this.conversion.hashCode()));
result = ((result* 31)+((this.artifacts == null)? 0 :this.artifacts.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ExternalPropertyFileReferences) == false) {
return false;
}
ExternalPropertyFileReferences rhs = ((ExternalPropertyFileReferences) other);
return ((((((((((((((((((this.addresses == rhs.addresses)||((this.addresses!= null)&&this.addresses.equals(rhs.addresses)))&&((this.logicalLocations == rhs.logicalLocations)||((this.logicalLocations!= null)&&this.logicalLocations.equals(rhs.logicalLocations))))&&((this.policies == rhs.policies)||((this.policies!= null)&&this.policies.equals(rhs.policies))))&&((this.externalizedProperties == rhs.externalizedProperties)||((this.externalizedProperties!= null)&&this.externalizedProperties.equals(rhs.externalizedProperties))))&&((this.invocations == rhs.invocations)||((this.invocations!= null)&&this.invocations.equals(rhs.invocations))))&&((this.graphs == rhs.graphs)||((this.graphs!= null)&&this.graphs.equals(rhs.graphs))))&&((this.extensions == rhs.extensions)||((this.extensions!= null)&&this.extensions.equals(rhs.extensions))))&&((this.driver == rhs.driver)||((this.driver!= null)&&this.driver.equals(rhs.driver))))&&((this.taxonomies == rhs.taxonomies)||((this.taxonomies!= null)&&this.taxonomies.equals(rhs.taxonomies))))&&((this.translations == rhs.translations)||((this.translations!= null)&&this.translations.equals(rhs.translations))))&&((this.webResponses == rhs.webResponses)||((this.webResponses!= null)&&this.webResponses.equals(rhs.webResponses))))&&((this.webRequests == rhs.webRequests)||((this.webRequests!= null)&&this.webRequests.equals(rhs.webRequests))))&&((this.results == rhs.results)||((this.results!= null)&&this.results.equals(rhs.results))))&&((this.threadFlowLocations == rhs.threadFlowLocations)||((this.threadFlowLocations!= null)&&this.threadFlowLocations.equals(rhs.threadFlowLocations))))&&((this.properties == rhs.properties)||((this.properties!= null)&&this.properties.equals(rhs.properties))))&&((this.conversion == rhs.conversion)||((this.conversion!= null)&&this.conversion.equals(rhs.conversion))))&&((this.artifacts == rhs.artifacts)||((this.artifacts!= null)&&this.artifacts.equals(rhs.artifacts))));
}
}