Class AbstractControl
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.control.catalog.AbstractControl
-
- All Implemented Interfaces:
gov.nist.secauto.metaschema.binding.io.IDeserializationHandler,IControl,IControlContainer
- Direct Known Subclasses:
Control
public abstract class AbstractControl extends Object implements gov.nist.secauto.metaschema.binding.io.IDeserializationHandler, IControl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractControl.Builder
-
Constructor Summary
Constructors Constructor Description AbstractControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterDeserialize(Object parent)voidbeforeDeserialize(Object parent)static AbstractControl.Builderbuilder(String id)ControlgetParentControl()Stream<String>getReferencedParameterIds()Get the parameter identifiers referenced in the object's context, but not by their child objects.voidsetParentControl(Control parent)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.oscal.lib.model.control.catalog.IControl
getId, getParts
-
Methods inherited from interface gov.nist.secauto.oscal.lib.model.control.catalog.IControlContainer
addControl, addParam, getControls, getParams, removeControl, removeParam
-
-
-
-
Constructor Detail
-
AbstractControl
public AbstractControl()
-
-
Method Detail
-
getParentControl
public Control getParentControl()
- Specified by:
getParentControlin interfaceIControl
-
setParentControl
public void setParentControl(Control parent)
- Specified by:
setParentControlin interfaceIControl
-
beforeDeserialize
public void beforeDeserialize(Object parent)
- Specified by:
beforeDeserializein interfacegov.nist.secauto.metaschema.binding.io.IDeserializationHandler
-
afterDeserialize
public void afterDeserialize(Object parent)
- Specified by:
afterDeserializein interfacegov.nist.secauto.metaschema.binding.io.IDeserializationHandler
-
getReferencedParameterIds
@NonNull public Stream<String> getReferencedParameterIds()
Description copied from interface:IControlContainerGet the parameter identifiers referenced in the object's context, but not by their child objects.- Specified by:
getReferencedParameterIdsin interfaceIControlContainer- Returns:
- a stream of identifiers
-
builder
@NonNull public static AbstractControl.Builder builder(@NonNull String id)
-
-