org.opencms.db.jpa.persistence
Class CmsDAOOnlineProperties

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOOnlineProperties
All Implemented Interfaces:
I_CmsDAOProperties

@Entity
public class CmsDAOOnlineProperties
extends java.lang.Object
implements I_CmsDAOProperties

This data access object represents a online property entry inside the table "cms_online_properties".

Since:
8.0.0

Constructor Summary
CmsDAOOnlineProperties()
          The default constructor.
CmsDAOOnlineProperties(java.lang.String propertyId)
          A public constructor for generating a new contents object with an unique id.
 
Method Summary
 java.lang.String getPropertyDefId()
          Returns the property definition id.
 java.lang.String getPropertyId()
          Returns the id of this property entry.
 java.lang.String getPropertyMappingId()
          Returns the mapping id of this property entry.
 int getPropertyMappingType()
          Returns the mapping type.
 java.lang.String getPropertyValue()
          Returns the value of this property entry.
 void setPropertyDefId(java.lang.String propertydefId)
          Sets the property definition id.
 void setPropertyId(java.lang.String propertyId)
          Sets the id of this property entry.
 void setPropertyMappingId(java.lang.String propertyMappingId)
          Sets the mapping id for this property entry.
 void setPropertyMappingType(int propertyMappingType)
          Sets the mapping type.
 void setPropertyValue(java.lang.String propertyValue)
          Sets the value for this property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOOnlineProperties

public CmsDAOOnlineProperties()
The default constructor.


CmsDAOOnlineProperties

public CmsDAOOnlineProperties(java.lang.String propertyId)
A public constructor for generating a new contents object with an unique id.

Parameters:
propertyId - the property id
Method Detail

getPropertyDefId

public java.lang.String getPropertyDefId()
Description copied from interface: I_CmsDAOProperties
Returns the property definition id.

Specified by:
getPropertyDefId in interface I_CmsDAOProperties
Returns:
the definition id
See Also:
I_CmsDAOProperties.getPropertyDefId()

getPropertyId

public java.lang.String getPropertyId()
Description copied from interface: I_CmsDAOProperties
Returns the id of this property entry.

Specified by:
getPropertyId in interface I_CmsDAOProperties
Returns:
the id
See Also:
I_CmsDAOProperties.getPropertyId()

getPropertyMappingId

public java.lang.String getPropertyMappingId()
Description copied from interface: I_CmsDAOProperties
Returns the mapping id of this property entry.

Specified by:
getPropertyMappingId in interface I_CmsDAOProperties
Returns:
the mapping id
See Also:
I_CmsDAOProperties.getPropertyMappingId()

getPropertyMappingType

public int getPropertyMappingType()
Description copied from interface: I_CmsDAOProperties
Returns the mapping type.

Specified by:
getPropertyMappingType in interface I_CmsDAOProperties
Returns:
the mapping type
See Also:
I_CmsDAOProperties.getPropertyMappingType()

getPropertyValue

public java.lang.String getPropertyValue()
Description copied from interface: I_CmsDAOProperties
Returns the value of this property entry.

Specified by:
getPropertyValue in interface I_CmsDAOProperties
Returns:
the value
See Also:
I_CmsDAOProperties.getPropertyValue()

setPropertyDefId

public void setPropertyDefId(java.lang.String propertydefId)
Description copied from interface: I_CmsDAOProperties
Sets the property definition id.

Specified by:
setPropertyDefId in interface I_CmsDAOProperties
Parameters:
propertydefId - the definition id to set
See Also:
I_CmsDAOProperties.setPropertyDefId(java.lang.String)

setPropertyId

public void setPropertyId(java.lang.String propertyId)
Description copied from interface: I_CmsDAOProperties
Sets the id of this property entry.

Specified by:
setPropertyId in interface I_CmsDAOProperties
Parameters:
propertyId - the id to set
See Also:
I_CmsDAOProperties.setPropertyId(java.lang.String)

setPropertyMappingId

public void setPropertyMappingId(java.lang.String propertyMappingId)
Description copied from interface: I_CmsDAOProperties
Sets the mapping id for this property entry.

Specified by:
setPropertyMappingId in interface I_CmsDAOProperties
Parameters:
propertyMappingId - the mapping id to set
See Also:
I_CmsDAOProperties.setPropertyMappingId(java.lang.String)

setPropertyMappingType

public void setPropertyMappingType(int propertyMappingType)
Description copied from interface: I_CmsDAOProperties
Sets the mapping type.

Specified by:
setPropertyMappingType in interface I_CmsDAOProperties
Parameters:
propertyMappingType - the mapping type to set
See Also:
I_CmsDAOProperties.setPropertyMappingType(int)

setPropertyValue

public void setPropertyValue(java.lang.String propertyValue)
Description copied from interface: I_CmsDAOProperties
Sets the value for this property.

Specified by:
setPropertyValue in interface I_CmsDAOProperties
Parameters:
propertyValue - the value to set
See Also:
I_CmsDAOProperties.setPropertyValue(java.lang.String)