info.magnolia.module.googlesitemap.bean
Class SiteMapEntry

java.lang.Object
  extended by info.magnolia.module.googlesitemap.bean.SiteMapEntry
All Implemented Interfaces:
Comparable<SiteMapEntry>

public class SiteMapEntry
extends Object
implements Comparable<SiteMapEntry>

Simple POJO containing relevant informations for the display. This bean is used as well for the XML and configuration rendering.


Constructor Summary
SiteMapEntry()
           
SiteMapEntry(String loc, String lastmod, String changefreq, String priority, int level)
          Fields Constructor.
 
Method Summary
 int compareTo(SiteMapEntry obj)
          Implementation for the Comparable Interface.
 boolean equals(Object obj)
          Used for to check the unicity in the set.
 String getChangefreq()
           
 String getFrom()
           
 String getLastmod()
           
 int getLevel()
           
 String getLoc()
          Getter and Setter Section.
 String getPageName()
           
 String getPath()
           
 String getPriority()
           
 String getTab()
          Used to define the tabulation for the site hierarchy.
 String getTo()
           
 int hashCode()
           
 boolean isStyleAlert()
           
 void setChangefreq(String changefreq)
           
 void setFrom(String from)
           
 void setLastmod(String lastmod)
           
 void setLevel(int level)
           
 void setLoc(String loc)
           
 void setPageName(String pageName)
           
 void setPath(String path)
           
 void setPriority(String priority)
           
 void setStyleAlert(boolean styleAlert)
           
 void setTo(String to)
           
 String toStringDisplay()
           
 String toStringSite()
           
 String toStringVirtualUri()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteMapEntry

public SiteMapEntry()

SiteMapEntry

public SiteMapEntry(String loc,
                    String lastmod,
                    String changefreq,
                    String priority,
                    int level)
Fields Constructor.

Method Detail

getTab

public String getTab()
Used to define the tabulation for the site hierarchy.


getLoc

public String getLoc()
Getter and Setter Section.


setLoc

public void setLoc(String loc)

getLastmod

public String getLastmod()

setLastmod

public void setLastmod(String lastmod)

getChangefreq

public String getChangefreq()

setChangefreq

public void setChangefreq(String changefreq)

getPriority

public String getPriority()

setPriority

public void setPriority(String priority)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getPath

public String getPath()

setPath

public void setPath(String path)

isStyleAlert

public boolean isStyleAlert()

setStyleAlert

public void setStyleAlert(boolean styleAlert)

getPageName

public String getPageName()

setPageName

public void setPageName(String pageName)

getFrom

public String getFrom()

setFrom

public void setFrom(String from)

getTo

public String getTo()

setTo

public void setTo(String to)

toStringDisplay

public String toStringDisplay()

toStringSite

public String toStringSite()

toStringVirtualUri

public String toStringVirtualUri()

compareTo

public int compareTo(SiteMapEntry obj)
Implementation for the Comparable Interface.

Specified by:
compareTo in interface Comparable<SiteMapEntry>

equals

public boolean equals(Object obj)
Used for to check the unicity in the set.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.