Package org.opencms.staticexport
Class CmsExportname
- java.lang.Object
-
- org.opencms.staticexport.CmsExportname
-
public class CmsExportname extends java.lang.Object
A bean for a export name. Combines the export name with the site information
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsExportname.CmsExportNameComparator
A export name comparator.
-
Constructor Summary
Constructors Constructor Description CmsExportname(java.lang.String exportname, CmsSite site)
Constructor with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getExportname()
Returns the value of the 'exportname' property.CmsSite
getSite()
Returns the site.int
hashCode()
void
setExportname(java.lang.String exportname)
Sets the export name.void
setSite(CmsSite site)
Sets the site.java.lang.String
toString()
-
-
-
Constructor Detail
-
CmsExportname
public CmsExportname(java.lang.String exportname, CmsSite site)
Constructor with parameters.- Parameters:
exportname
- the export namesite
- the site object
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
getExportname
public java.lang.String getExportname()
Returns the value of the 'exportname' property.- Returns:
- the value of the 'exportname' property
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
setExportname
public void setExportname(java.lang.String exportname)
Sets the export name.- Parameters:
exportname
- the value to set the export name to
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-