Class CmsUrlNameMappingEntry

java.lang.Object
org.opencms.db.urlname.CmsUrlNameMappingEntry

public class CmsUrlNameMappingEntry extends Object
An URL name mapping entry.

Since:
8.0.0
  • Field Details

  • Constructor Details

    • CmsUrlNameMappingEntry

      public CmsUrlNameMappingEntry(String name, CmsUUID structureId, int state, long dateChanged, String locale)
      Creates a new URL name mapping entry.

      Parameters:
      name - the URL name
      structureId - the id to which the name is mapped
      state - the state of the entry
      dateChanged - the date of the entry's last change
      locale - the locale of the mapping
  • Method Details

    • getDateChanged

      public long getDateChanged()
      Returns the date at which the mapping was last changed as a long.

      Returns:
      the date at which the mapping was last changed
    • getLocale

      public String getLocale()
      Returns the locale of the mapping entry.

      Returns:
      the locale of the mapping entry
    • getName

      public String getName()
      Returns the name to which the mapping belongs.

      Returns:
      the name to which the mapping belongs
    • getState

      public int getState()
      Returns the state of the mapping entry.

      Returns:
      the state of the mapping entry
    • getStructureId

      Returns the structure id which is mapped to the name.

      Returns:
      the structure id which is mapped to the name
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: