gov.nist.secauto.oscal.lib.model.SelectObjectiveById Maven / Gradle / Ivy
package gov.nist.secauto.oscal.lib.model;
import gov.nist.secauto.metaschema.binding.model.annotations.BoundFlag;
import gov.nist.secauto.metaschema.binding.model.annotations.MetaschemaAssembly;
import gov.nist.secauto.metaschema.model.common.datatype.adapter.TokenAdapter;
import java.lang.Override;
import java.lang.String;
import org.apache.commons.lang3.builder.MultilineRecursiveToStringStyle;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
/**
* Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
*/
@MetaschemaAssembly(
formalName = "Select Objective",
description = "Used to select a control objective for inclusion/exclusion based on the control objective's identifier.",
name = "select-objective-by-id",
metaschema = OscalAssessmentCommonMetaschema.class
)
public class SelectObjectiveById {
@BoundFlag(
useName = "objective-id",
required = true,
typeAdapter = TokenAdapter.class
)
private String _objectiveId;
public SelectObjectiveById() {
}
public String getObjectiveId() {
return _objectiveId;
}
public void setObjectiveId(String value) {
_objectiveId = value;
}
@Override
public String toString() {
return new ReflectionToStringBuilder(this, MultilineRecursiveToStringStyle.MULTI_LINE_STYLE).toString();
}
}