Class PublishDate

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class PublishDate
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Modify display properties for date published.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String format
      Date format to use.
      private java.lang.String position
      Where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
    • Constructor Summary

      Constructors 
      Constructor Description
      PublishDate()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PublishDate clone()
      Method clone.
      boolean equals​(java.lang.Object other)
      Method equals.
      java.lang.String getFormat()
      Get date format to use.
      java.lang.String getPosition()
      Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
      int hashCode()
      Method hashCode.
      void setFormat​(java.lang.String format)
      Set date format to use.
      void setPosition​(java.lang.String position)
      Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • position

        private java.lang.String position
        Where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
      • format

        private java.lang.String format
        Date format to use.
    • Constructor Detail

      • PublishDate

        public PublishDate()
    • Method Detail

      • clone

        public PublishDate clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        PublishDate
      • equals

        public boolean equals​(java.lang.Object other)
        Method equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other -
        Returns:
        boolean
      • getFormat

        public java.lang.String getFormat()
        Get date format to use.
        Returns:
        String
      • getPosition

        public java.lang.String getPosition()
        Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int
      • setFormat

        public void setFormat​(java.lang.String format)
        Set date format to use.
        Parameters:
        format -
      • setPosition

        public void setPosition​(java.lang.String position)
        Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
        Parameters:
        position -
      • toString

        public java.lang.String toString()
        Method toString.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String