Class Repeat

    • Constructor Detail

      • Repeat

        public Repeat()
        Default constructor.
      • Repeat

        public Repeat​(ParameterList aList,
                      String aValue)
        Parameters:
        aList - a list of parameters for this component
        aValue - a value string for this component
      • Repeat

        public Repeat​(int aCount)
        Parameters:
        aCount - a repetition count
      • Repeat

        public Repeat​(ParameterList aList,
                      int aCount)
        Parameters:
        aList - a list of parameters for this component
        aCount - a repetition count
    • Method Detail

      • getCount

        public final int getCount()
        Returns:
        Returns the count.
      • setValue

        public final void setValue​(String aValue)
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
      • getValue

        public final String getValue()
        Specified by:
        getValue in class Content
        Returns:
        the content value
      • setCount

        public final void setCount​(int count)
        Parameters:
        count - The count to set.
      • newFactory

        protected PropertyFactory<Repeat> newFactory()
        Description copied from class: Property
        Returns a new property factory used to create deep copies.
        Specified by:
        newFactory in class Property
        Returns:
        a property factory instance