OscalPoamModule.java
package gov.nist.secauto.oscal.lib.model;
import gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine;
import gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline;
import gov.nist.secauto.metaschema.databind.IBindingContext;
import gov.nist.secauto.metaschema.databind.model.AbstractBoundModule;
import gov.nist.secauto.metaschema.databind.model.IBoundModule;
import gov.nist.secauto.metaschema.databind.model.annotations.MetaschemaModule;
import java.lang.Override;
import java.lang.String;
import java.net.URI;
import java.util.List;
@MetaschemaModule(
assemblies = {
PlanOfActionAndMilestones.class,
LocalDefinitions.class,
PoamItem.class
},
imports = {
OscalMetadataModule.class,
OscalImplementationCommonModule.class,
OscalAssessmentCommonModule.class
},
remarks = "The OSCAL Plan of Action and Milestones (POA\\&M) format is used to describe the information typically provided by an assessor during the preparation for an assessment.\n"
+ "\n"
+ "The root of the OSCAL Plan of Action and Milestones (POA\\&M) format is `plan-action-milestones`."
)
public final class OscalPoamModule extends AbstractBoundModule {
private static final MarkupLine NAME = MarkupLine.fromMarkdown("OSCAL Plan of Action and Milestones (POA\\&M) Model");
private static final String SHORT_NAME = "oscal-poam";
private static final String VERSION = "1.1.2";
private static final URI XML_NAMESPACE = URI.create("http://csrc.nist.gov/ns/oscal/1.0");
private static final URI JSON_BASE_URI = URI.create("http://csrc.nist.gov/ns/oscal");
private static final MarkupMultiline REMARKS = MarkupMultiline.fromMarkdown("The OSCAL Plan of Action and Milestones (POA\\&M) format is used to describe the information typically provided by an assessor during the preparation for an assessment.\n"
+ "\n"
+ "The root of the OSCAL Plan of Action and Milestones (POA\\&M) format is `plan-action-milestones`.");
public OscalPoamModule(List<? extends IBoundModule> importedModules,
IBindingContext bindingContext) {
super(importedModules, bindingContext);
}
@Override
public MarkupLine getName() {
return NAME;
}
@Override
public String getShortName() {
return SHORT_NAME;
}
@Override
public String getVersion() {
return VERSION;
}
@Override
public URI getXmlNamespace() {
return XML_NAMESPACE;
}
@Override
public URI getJsonBaseUri() {
return JSON_BASE_URI;
}
@Override
public MarkupMultiline getRemarks() {
return REMARKS;
}
}