Class: Oscal::V1_2_1::ControlImplementation
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Base
- Oscal::V1_2_1::ControlImplementation
- Defined in:
- lib/oscal/v1_2_1/all_models.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.metaschema_constraints ⇒ Object
12155 12156 12157 |
# File 'lib/oscal/v1_2_1/all_models.rb', line 12155 def self. @metaschema_constraints end |
Instance Method Details
#validate_constraints ⇒ Object
12159 12160 12161 12162 |
# File 'lib/oscal/v1_2_1/all_models.rb', line 12159 def validate_constraints validator = Metaschema::ConstraintValidator.new validator.validate(self, self.class.) end |
#validate_occurrences ⇒ Object
12164 12165 12166 |
# File 'lib/oscal/v1_2_1/all_models.rb', line 12164 def validate_occurrences Metaschema::ConstraintValidator.validate_occurrences(self, self.class.instance_variable_get(:@occurrence_constraints)) end |