Class Version
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.Version
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Version extends java.lang.Object implements java.io.Serializable, java.lang.CloneableModify display properties for version published.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringpositionWhere to place the version published (left, right, navigation-top, navigation-bottom, bottom).
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Versionclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetPosition()Get where to place the version published (left, right, navigation-top, navigation-bottom, bottom).inthashCode()Method hashCode.voidsetPosition(java.lang.String position)Set where to place the version published (left, right, navigation-top, navigation-bottom, bottom).java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
clone
public Version clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Version
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other-- Returns:
- boolean
-
getPosition
public java.lang.String getPosition()
Get where to place the version published (left, right, navigation-top, navigation-bottom, bottom).- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setPosition
public void setPosition(java.lang.String position)
Set where to place the version published (left, right, navigation-top, navigation-bottom, bottom).- Parameters:
position-
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-