Class ChildrenProperties


  • public class ChildrenProperties
    extends Object
    Children properties of an element declaration:
    • sequenced if all children have the same order.
    • cardinalities for each child.
    • Constructor Detail

      • ChildrenProperties

        public ChildrenProperties()
    • Method Detail

      • addChildHierarchy

        public void addChildHierarchy​(List<String> tags)
      • getCardinalities

        public Map<String,​Cardinality> getCardinalities()
        Returns map which stores cardinality per tag.
        Returns:
        map which stores cardinality per tag
      • isSequenced

        public boolean isSequenced()
        Returns true if tags for each child hierarchy have the same order and false otherwise.
        Returns:
        true if tags for each child hierarchy have the same order and false otherwise.