Class Details


  • public class Details
    extends java.lang.Object

    Details (header) of a PADRE result packet

    Contains information about the collection and the PADRE version.

    Since:
    11.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Details.Schema
      Constants for the PADRE XML result packet tags.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String collectionSize
      Size of the index.
      private java.util.Date collectionUpdated
      Last updated date of the index.
      private java.lang.String padreVersion
      Version of the PADRE query processor.
      private static java.lang.String UPDATED_DATE_PATTERN
      Pattern to use to parse the updated date of the index.
    • Constructor Summary

      Constructors 
      Constructor Description
      Details()  
      Details​(java.lang.String padreVersion, java.lang.String collectionSize, java.util.Date collectionUpdated)  
    • Field Detail

      • UPDATED_DATE_PATTERN

        private static final java.lang.String UPDATED_DATE_PATTERN
        Pattern to use to parse the updated date of the index.
        See Also:
        Constant Field Values
      • padreVersion

        private java.lang.String padreVersion
        Version of the PADRE query processor.
      • collectionSize

        private java.lang.String collectionSize
        Size of the index.
      • collectionUpdated

        private java.util.Date collectionUpdated
        Last updated date of the index.
    • Constructor Detail

      • Details

        public Details​(java.lang.String padreVersion,
                       java.lang.String collectionSize,
                       java.util.Date collectionUpdated)
      • Details

        public Details()
    • Method Detail

      • getUpdateDatePatternWithoutLocal

        public static final java.lang.String getUpdateDatePatternWithoutLocal()
      • getUpdateDateFormat

        public static final java.text.SimpleDateFormat getUpdateDateFormat()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPadreVersion

        public java.lang.String getPadreVersion()
        Version of the PADRE query processor.
      • setPadreVersion

        public void setPadreVersion​(java.lang.String padreVersion)
        Version of the PADRE query processor.
      • getCollectionSize

        public java.lang.String getCollectionSize()
        Size of the index.
      • setCollectionSize

        public void setCollectionSize​(java.lang.String collectionSize)
        Size of the index.
      • getCollectionUpdated

        public java.util.Date getCollectionUpdated()
        Last updated date of the index.
      • setCollectionUpdated

        public void setCollectionUpdated​(java.util.Date collectionUpdated)
        Last updated date of the index.