001package gov.nist.secauto.oscal.lib.model; 002 003import gov.nist.secauto.metaschema.core.model.IBoundObject; 004import gov.nist.secauto.metaschema.core.model.IMetaschemaData; 005import gov.nist.secauto.metaschema.databind.model.annotations.MetaschemaAssembly; 006import java.lang.Override; 007import java.lang.String; 008import org.apache.commons.lang3.builder.ReflectionToStringBuilder; 009import org.apache.commons.lang3.builder.ToStringStyle; 010 011/** 012 * Include all controls from the imported catalog or profile resources. 013 */ 014@MetaschemaAssembly( 015 formalName = "Include All", 016 description = "Include all controls from the imported catalog or profile resources.", 017 name = "include-all", 018 moduleClass = OscalControlCommonModule.class, 019 remarks = "This element provides an alternative to calling controls individually from a catalog." 020) 021public class IncludeAll implements IBoundObject { 022 private final IMetaschemaData __metaschemaData; 023 024 public IncludeAll() { 025 this(null); 026 } 027 028 public IncludeAll(IMetaschemaData data) { 029 this.__metaschemaData = data; 030 } 031 032 @Override 033 public IMetaschemaData getMetaschemaData() { 034 return __metaschemaData; 035 } 036 037 @Override 038 public String toString() { 039 return new ReflectionToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).toString(); 040 } 041}