Class FeatureFunctionRequirement


  • public class FeatureFunctionRequirement
    extends java.lang.Object
    This class maps features and functions to the Use Case scenarios that require their presence.

    In the Use Case Specifications, you can find this information in the "Feature Types and Functions used within this Use Case" tables.

    • Constructor Summary

      Constructors 
      Constructor Description
      FeatureFunctionRequirement​(org.openmuc.jeebus.spine.xsd.v1.FeatureTypeEnumType type, java.util.Map<org.openmuc.jeebus.spine.xsd.v1.FunctionEnumType,​java.util.Map<java.lang.Long,​PresenceIndication>> functionRequirements)  
    • Constructor Detail

      • FeatureFunctionRequirement

        public FeatureFunctionRequirement​(org.openmuc.jeebus.spine.xsd.v1.FeatureTypeEnumType type,
                                          java.util.Map<org.openmuc.jeebus.spine.xsd.v1.FunctionEnumType,​java.util.Map<java.lang.Long,​PresenceIndication>> functionRequirements)
    • Method Detail

      • getType

        public org.openmuc.jeebus.spine.xsd.v1.FeatureTypeEnumType getType()
      • getRelativeRequirements

        public java.util.Map<org.openmuc.jeebus.spine.xsd.v1.FunctionEnumType,​java.util.Map<java.lang.Long,​PresenceIndication>> getRelativeRequirements()
      • getAbsoluteRequirements

        public java.util.Map<org.openmuc.jeebus.spine.xsd.v1.FunctionEnumType,​PresenceIndication> getAbsoluteRequirements​(java.util.Map<java.lang.Long,​PresenceIndication> scenarioRequirements)
        Parameters:
        scenarioRequirements - a Map linking the available scenario numbers to their PresenceIndicators
        Returns:
        a map linking all functions contained in this object to their PresenceIndications according to the given scenarioRequirements