Class WSCollection


  • public class WSCollection
    extends WSResource
    The WSCollection class is a web service compatible version of the Collection class. It is used to represent the difference between a WSResource and WSCollection.
    • Field Detail

      • childCount

        protected int childCount
      • children

        protected String[] children
    • Constructor Detail

      • WSCollection

        public WSCollection()
    • Method Detail

      • getChildCount

        public int getChildCount()
        Returns the child count of the Collection
        Returns:
        child count
      • setChildCount

        public void setChildCount​(int childCount)
        Sets the child count of the Collection
        Parameters:
        childCount - child count
      • getChildren

        public String[] getChildren()
        Returns the children of the Collection
        Returns:
        child resource paths.
      • setChildren

        public void setChildren​(String[] children)
        Sets the children of the Collection
        Parameters:
        children - child resource paths.