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 class
AbstractControl.Builder
-
Constructor Summary
Constructors Constructor Description AbstractControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterDeserialize(Object parent)
void
beforeDeserialize(Object parent)
static AbstractControl.Builder
builder(String id)
Control
getParentControl()
Stream<String>
getReferencedParameterIds()
Get the parameter identifiers referenced in the object's context, but not by their child objects.void
setParentControl(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:
getParentControl
in interfaceIControl
-
setParentControl
public void setParentControl(Control parent)
- Specified by:
setParentControl
in interfaceIControl
-
beforeDeserialize
public void beforeDeserialize(Object parent)
- Specified by:
beforeDeserialize
in interfacegov.nist.secauto.metaschema.binding.io.IDeserializationHandler
-
afterDeserialize
public void afterDeserialize(Object parent)
- Specified by:
afterDeserialize
in interfacegov.nist.secauto.metaschema.binding.io.IDeserializationHandler
-
getReferencedParameterIds
@NonNull public Stream<String> getReferencedParameterIds()
Description copied from interface:IControlContainer
Get the parameter identifiers referenced in the object's context, but not by their child objects.- Specified by:
getReferencedParameterIds
in interfaceIControlContainer
- Returns:
- a stream of identifiers
-
builder
@NonNull public static AbstractControl.Builder builder(@NonNull String id)
-
-