public class PublishDate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and 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 and Description |
---|
PublishDate() |
Modifier and Type | Method and 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.
|
private java.lang.String position
private java.lang.String format
public PublishDate clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.lang.String getFormat()
public java.lang.String getPosition()
public int hashCode()
hashCode
in class java.lang.Object
public void setFormat(java.lang.String format)
format
- public void setPosition(java.lang.String position)
position
- public java.lang.String toString()
toString
in class java.lang.Object