org.opencms.db.jpa.persistence
Class CmsDAOOnlineUrlNameMappings

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOOnlineUrlNameMappings
All Implemented Interfaces:
I_CmsDAOUrlNameMappings

@Entity
public class CmsDAOOnlineUrlNameMappings
extends java.lang.Object
implements I_CmsDAOUrlNameMappings

This data access object represents a online URL name mapping entry inside the table "cms_online_urlname_mappings".

Since:
8.0.0

Nested Class Summary
static class CmsDAOOnlineUrlNameMappings.CmsDAOOnlineUrlNameMappingsPK
          This class implements the primary key for a URL name mapping entry in the table "cms_online_urlname_mappings".
 
Constructor Summary
CmsDAOOnlineUrlNameMappings()
          The public constructor.
CmsDAOOnlineUrlNameMappings(long dateChanged, java.lang.String name, int state, java.lang.String structureId)
          A public constructor for generating a new contents object with an unique id.
 
Method Summary
 long getDateChanged()
          Returns the date changed.
 java.lang.String getLocale()
          Returns the locale.
 java.lang.String getName()
          Returns the name.
 int getState()
          Returns the state.
 java.lang.String getStructureId()
          Returns the structure id.
 void setDateChanged(long dateChanged)
          Sets the date changed.
 void setLocale(java.lang.String locale)
          Sets the locale.
 void setName(java.lang.String name)
          Sets the name.
 void setState(int state)
          Sets the state.
 void setStructureId(java.lang.String structureId)
          Sets the structure id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOOnlineUrlNameMappings

public CmsDAOOnlineUrlNameMappings()
The public constructor.


CmsDAOOnlineUrlNameMappings

public CmsDAOOnlineUrlNameMappings(long dateChanged,
                                   java.lang.String name,
                                   int state,
                                   java.lang.String structureId)
A public constructor for generating a new contents object with an unique id.

Parameters:
dateChanged - the date changed
name - the name
state - the state
structureId - the structure id
Method Detail

getDateChanged

public long getDateChanged()
Description copied from interface: I_CmsDAOUrlNameMappings
Returns the date changed.

Specified by:
getDateChanged in interface I_CmsDAOUrlNameMappings
Returns:
the changed date
See Also:
I_CmsDAOUrlNameMappings.getDateChanged()

getLocale

public java.lang.String getLocale()
Description copied from interface: I_CmsDAOUrlNameMappings
Returns the locale.

Specified by:
getLocale in interface I_CmsDAOUrlNameMappings
Returns:
the locale
See Also:
I_CmsDAOUrlNameMappings.getLocale()

getName

public java.lang.String getName()
Description copied from interface: I_CmsDAOUrlNameMappings
Returns the name.

Specified by:
getName in interface I_CmsDAOUrlNameMappings
Returns:
the name
See Also:
I_CmsDAOUrlNameMappings.getName()

getState

public int getState()
Description copied from interface: I_CmsDAOUrlNameMappings
Returns the state.

Specified by:
getState in interface I_CmsDAOUrlNameMappings
Returns:
the state
See Also:
I_CmsDAOUrlNameMappings.getState()

getStructureId

public java.lang.String getStructureId()
Description copied from interface: I_CmsDAOUrlNameMappings
Returns the structure id.

Specified by:
getStructureId in interface I_CmsDAOUrlNameMappings
Returns:
the structure id
See Also:
I_CmsDAOUrlNameMappings.getStructureId()

setDateChanged

public void setDateChanged(long dateChanged)
Description copied from interface: I_CmsDAOUrlNameMappings
Sets the date changed.

Specified by:
setDateChanged in interface I_CmsDAOUrlNameMappings
Parameters:
dateChanged - the date to set
See Also:
I_CmsDAOUrlNameMappings.setDateChanged(long)

setLocale

public void setLocale(java.lang.String locale)
Description copied from interface: I_CmsDAOUrlNameMappings
Sets the locale.

Specified by:
setLocale in interface I_CmsDAOUrlNameMappings
Parameters:
locale - the locale to set
See Also:
I_CmsDAOUrlNameMappings.setLocale(java.lang.String)

setName

public void setName(java.lang.String name)
Description copied from interface: I_CmsDAOUrlNameMappings
Sets the name.

Specified by:
setName in interface I_CmsDAOUrlNameMappings
Parameters:
name - the name to set
See Also:
I_CmsDAOUrlNameMappings.setName(java.lang.String)

setState

public void setState(int state)
Description copied from interface: I_CmsDAOUrlNameMappings
Sets the state.

Specified by:
setState in interface I_CmsDAOUrlNameMappings
Parameters:
state - the state to set
See Also:
I_CmsDAOUrlNameMappings.setState(int)

setStructureId

public void setStructureId(java.lang.String structureId)
Description copied from interface: I_CmsDAOUrlNameMappings
Sets the structure id.

Specified by:
setStructureId in interface I_CmsDAOUrlNameMappings
Parameters:
structureId - the id to set
See Also:
I_CmsDAOUrlNameMappings.setStructureId(java.lang.String)