IncludeAll.java

package gov.nist.secauto.oscal.lib.model;

import gov.nist.secauto.metaschema.core.model.IBoundObject;
import gov.nist.secauto.metaschema.core.model.IMetaschemaData;
import gov.nist.secauto.metaschema.databind.model.annotations.MetaschemaAssembly;
import java.lang.Override;
import java.lang.String;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Include all controls from the imported catalog or profile resources.
 */
@MetaschemaAssembly(
    formalName = "Include All",
    description = "Include all controls from the imported catalog or profile resources.",
    name = "include-all",
    moduleClass = OscalControlCommonModule.class,
    remarks = "This element provides an alternative to calling controls individually from a catalog."
)
public class IncludeAll implements IBoundObject {
  private final IMetaschemaData __metaschemaData;

  public IncludeAll() {
    this(null);
  }

  public IncludeAll(IMetaschemaData data) {
    this.__metaschemaData = data;
  }

  @Override
  public IMetaschemaData getMetaschemaData() {
    return __metaschemaData;
  }

  @Override
  public String toString() {
    return new ReflectionToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).toString();
  }
}