Class CS1FilteringTimeOut

    • Constructor Detail

      • CS1FilteringTimeOut

        public CS1FilteringTimeOut()
    • Method Detail

      • copyOf

        public static CS1FilteringTimeOut copyOf​(CS1FilteringTimeOut from)
        Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
        Parameters:
        from - the object from which to copy
        Returns:
        CS1FilteringTimeOut
      • getChoice

        public CS1FilteringTimeOut.Choice getChoice()
        Gets the discriminant of the current choice.
        Returns:
        the current discriminant
      • getDuration

        public int getDuration()
                        throws IllegalStateException
        Gets the value of the duration choice.
        Returns:
        value of the choice, if choice is duration
        Throws:
        IllegalStateException - if choice is not duration
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
        Returns:
        FieldAccessor[]
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • getStopTime

        public DateAndTime getStopTime()
        Gets the value of the stopTime choice.
        Returns:
        value of the choice, if choice is stopTime, else null
      • isDurationChosen

        public boolean isDurationChosen()
        Tests whether the choice is duration.
        Returns:
        true if chosen, false if not
      • isStopTimeChosen

        public boolean isStopTimeChosen()
        Tests whether the choice is stopTime.
        Returns:
        true if chosen, false if not