Class HierarchicalContextAbstraction


  • public class HierarchicalContextAbstraction
    extends Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsAllHierarchical​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set2, org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set1)  
      boolean containsAllSimple​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet first, org.palladiosimulator.pcm.confidentiality.context.set.ContextSet second)
      true means first set is included in second set (or equal)
      boolean containsHierarchicalChild​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set2, org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext parent)  
      boolean containsHierarchicalParent​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet compareSet, org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext child)  
      org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext getParent​(org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext context)  
      boolean isParentChild​(org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext parent, org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext child)  
    • Constructor Detail

      • HierarchicalContextAbstraction

        public HierarchicalContextAbstraction​(ContextModelAbstraction contextModelAbs)
    • Method Detail

      • isParentChild

        public boolean isParentChild​(org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext parent,
                                     org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext child)
      • containsHierarchicalChild

        public boolean containsHierarchicalChild​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set2,
                                                 org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext parent)
      • containsHierarchicalParent

        public boolean containsHierarchicalParent​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet compareSet,
                                                  org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext child)
      • containsAllHierarchical

        public boolean containsAllHierarchical​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set2,
                                               org.palladiosimulator.pcm.confidentiality.context.set.ContextSet set1)
      • containsAllSimple

        public boolean containsAllSimple​(org.palladiosimulator.pcm.confidentiality.context.set.ContextSet first,
                                         org.palladiosimulator.pcm.confidentiality.context.set.ContextSet second)
        true means first set is included in second set (or equal)
        Parameters:
        first -
        second -
        Returns:
        true if set first contains all contexts of the second
      • getParent

        public org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext getParent​(org.palladiosimulator.pcm.confidentiality.context.model.HierarchicalContext context)