Class LocationTypeList

    • Constructor Detail

      • LocationTypeList

        public LocationTypeList()
        Default constructor.
      • LocationTypeList

        public LocationTypeList​(String aValue)
        Parses the specified string representation to create a list of categories.
        Parameters:
        aValue - a string representation of a list of categories
      • LocationTypeList

        public LocationTypeList​(LocationType... locationTypes)
    • Method Detail

      • add

        public final boolean add​(String locationType)
        Add a location type to the list.
        Parameters:
        locationType - the location type to add
        Returns:
        true if the object is added successfully
        See Also:
        List.add(java.lang.Object)
      • isEmpty

        public final boolean isEmpty()
        Returns:
        boolean indicates if the list is empty
        See Also:
        List.isEmpty()
      • remove

        public final boolean remove​(String locationType)
        Remove a locationType from the list.
        Parameters:
        locationType - the location type to remove
        Returns:
        true if the list contained the specified category
        See Also:
        List.remove(java.lang.Object)
      • size

        public final int size()
        Returns:
        the number of categories in the list
        See Also:
        List.size()