Class JDFDateTimeState

    • Constructor Detail

      • JDFDateTimeState

        public JDFDateTimeState​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                java.lang.String qualifiedName)
        Constructor for JDFDateTimeState
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFDateTimeState

        public JDFDateTimeState​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                java.lang.String myNamespaceURI,
                                java.lang.String qualifiedName)
        Constructor for JDFDateTimeState
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFDateTimeState

        public JDFDateTimeState​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                java.lang.String myNamespaceURI,
                                java.lang.String qualifiedName,
                                java.lang.String myLocalName)
        Constructor for JDFDateTimeState
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • setCurrentValue

        public void setCurrentValue​(JDFDate value)
        set attribute CurrentValue
        Parameters:
        value - the value to set the attribute to
      • getCurrentValue

        public JDFDate getCurrentValue()
        get attribute CurrentValue
        Returns:
        the value of the attribute
      • setDefaultValue

        public void setDefaultValue​(JDFDate value)
        set attribute DefaultValue
        Parameters:
        value - the value to set the attribute to
      • getDefaultValue

        public JDFDate getDefaultValue()
        get attribute DefaultValue
        Returns:
        the value of the attribute
      • setAllowedValueList

        public void setAllowedValueList​(JDFDateTimeRangeList value)
        set attribute AllowedValueList
        Parameters:
        value - the value to set the attribute to
      • getAllowedValueList

        public JDFDateTimeRangeList getAllowedValueList()
        get attribute AllowedValueList
        Returns:
        the value of the attribute
      • setPresentValueList

        public void setPresentValueList​(JDFDateTimeRangeList value)
        set attribute PresentValueList
        Parameters:
        value - the value to set the attribute to
      • getPresentValueList

        public JDFDateTimeRangeList getPresentValueList()
        get attribute PresentValueList
        Returns:
        the value of the attribute
      • setAllowedValueDurationList

        public void setAllowedValueDurationList​(JDFDurationRangeList value)
        set attribute AllowedValueDurationList
        Parameters:
        value - the value of the attribute
      • getAllowedValueDurationList

        public JDFDurationRangeList getAllowedValueDurationList()
        get attribute AllowedValueDurationList
        Returns:
        the value of the attribute
      • setPresentValueDurationList

        public void setPresentValueDurationList​(JDFDurationRangeList value)
        set attribute PresentValueDurationList
        Parameters:
        value - the value to set the attribute to
      • getPresentValueDurationList

        public JDFDurationRangeList getPresentValueDurationList()
        get attribute PresentValueDurationList
        Returns:
        the value of the attribute
      • addValue

        public void addValue​(java.lang.String value,
                             JDFBaseDataTypes.EnumFitsValue testlists)
        Description copied from class: JDFAbstractState
        add a value to the list of values defined by testlists
        Specified by:
        addValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - switches between Allowed test lists and Present test lists. Has two values: Allowed and Present.
      • fitsValue

        public boolean fitsValue​(java.lang.String value,
                                 JDFBaseDataTypes.EnumFitsValue testlists)
        fitsValue - tests, if the defined value matches Allowed test lists or Present test lists, specified for this State
        Specified by:
        fitsValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - the test lists the value has to match. In this State the test lists are ValueList and ValueDurationList.
        Choose one of two values: FitsValue_Allowed or FitsValue_Present. (Defaults to Allowed)
        Returns:
        boolean - true, if the value matches test list or if AllowedValueList is not specified