Package edu.ie3.datamodel.io.extractor
Class Extractor
java.lang.Object
edu.ie3.datamodel.io.extractor.Extractor
A simple utility class that can be used by sinks to extract nested elements (e.g. nodes, types)
that should be persisted.
- Since:
- 31.03.20
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<InputEntity>
extractElements
(NestedEntity nestedEntity) static Optional<OperatorInput>
extractOperator
(Operable entityWithOperator) static AssetTypeInput
extractType
(HasType entityWithType)
-
Method Details
-
extractElements
- Throws:
ExtractorException
-
extractType
-
extractOperator
-