Class JDFDateTimeState

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, JDFBaseDataTypes, ICapabilityElement, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFDateTimeState extends JDFAbstractState
See Also:
  • Constructor Details

    • JDFDateTimeState

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

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

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

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFAbstractState
      Returns:
    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFAbstractState
      Returns:
      the elementinfo
    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • 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(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(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
    • getEvaluationType

      public JDFTerm.EnumTerm getEvaluationType()
      Description copied from interface: ICapabilityElement
      get the type of evaluation that is appropriate for this ICapabilityElement
      Specified by:
      getEvaluationType in interface ICapabilityElement
      Specified by:
      getEvaluationType in class JDFAbstractState
      Returns:
      EnumTerm the type of evaluation
      See Also: