Class IdReferenceTypeImpl

All Implemented Interfaces:
XSString, XMLObject, IdReferenceType, XACMLObject

public class IdReferenceTypeImpl extends XSStringImpl implements IdReferenceType
Implementation of IdReferenceType.
  • Field Details

    • earliestVersion

      private String earliestVersion
      Value of the earliest version.
    • latestVersion

      private String latestVersion
      Value of the latest version.
    • version

      private String version
      Value of this version.
  • Constructor Details

    • IdReferenceTypeImpl

      protected IdReferenceTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getEarliestVersion

      public String getEarliestVersion()
      Gets the earliest version of the reference.
      Specified by:
      getEarliestVersion in interface IdReferenceType
      Returns:
      earliest version of the reference
    • getLatestVersion

      public String getLatestVersion()
      Gets the latest version of the reference.
      Specified by:
      getLatestVersion in interface IdReferenceType
      Returns:
      latest version of the reference
    • getVersion

      public String getVersion()
      Gets the version of the reference.
      Specified by:
      getVersion in interface IdReferenceType
      Returns:
      version of the reference
    • setEarliestVersion

      public void setEarliestVersion(String newEarliestVersion)
      Sets the earliest version of the reference.
      Specified by:
      setEarliestVersion in interface IdReferenceType
      Parameters:
      newEarliestVersion - earliest version of the reference
    • setLatestVersion

      public void setLatestVersion(String newLastestVersion)
      Sets the latest version of the reference.
      Specified by:
      setLatestVersion in interface IdReferenceType
      Parameters:
      newLastestVersion - latest version of the reference
    • setVersion

      public void setVersion(String newVersion)
      Sets the version of the reference.
      Specified by:
      setVersion in interface IdReferenceType
      Parameters:
      newVersion - version of the reference