org.opencms.db.jpa.persistence
Class CmsDAOHistoryProperties

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOHistoryProperties

@Entity
public class CmsDAOHistoryProperties
extends java.lang.Object

This data access object represents a history properties entry inside the table "cms_history_properties".

Since:
8.0.0

Nested Class Summary
static class CmsDAOHistoryProperties.CmsDAOHistoryPropertiesPK
          This class implements the primary key for a history properties entry in the table "cms_history_properties".
 
Constructor Summary
CmsDAOHistoryProperties()
          The default constructor.
CmsDAOHistoryProperties(int propertyMappingType, java.lang.String propertydefId, int publishTag, java.lang.String structureId)
          A public constructor for generating a new history property object with an unique id.
 
Method Summary
 java.lang.String getPropertyDefId()
          Returns the propertyDefId.
 java.lang.String getPropertyMappingId()
          Returns the propertyMappingId.
 int getPropertyMappingType()
          Returns the propertyMappingType.
 java.lang.String getPropertyValue()
          Returns the propertyValue.
 int getPublishTag()
          Returns the publishTag.
 java.lang.String getStructureId()
          Returns the structureId.
 void setPropertyDefId(java.lang.String propertyDefId)
          Sets the propertyDefId.
 void setPropertyMappingId(java.lang.String propertyMappingId)
          Sets the propertyMappingId.
 void setPropertyMappingType(int propertyMappingType)
          Sets the propertyMappingType.
 void setPropertyValue(java.lang.String propertyValue)
          Sets the propertyValue.
 void setPublishTag(int publishTag)
          Sets the publishTag.
 void setStructureId(java.lang.String structureId)
          Sets the structureId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOHistoryProperties

public CmsDAOHistoryProperties()
The default constructor.


CmsDAOHistoryProperties

public CmsDAOHistoryProperties(int propertyMappingType,
                               java.lang.String propertydefId,
                               int publishTag,
                               java.lang.String structureId)
A public constructor for generating a new history property object with an unique id.

Parameters:
propertyMappingType - the property mapping type
propertydefId - the property definition id
publishTag - the publish tag
structureId - the structure id
Method Detail

getPropertyDefId

public java.lang.String getPropertyDefId()
Returns the propertyDefId.

Returns:
the propertyDefId

getPropertyMappingId

public java.lang.String getPropertyMappingId()
Returns the propertyMappingId.

Returns:
the propertyMappingId

getPropertyMappingType

public int getPropertyMappingType()
Returns the propertyMappingType.

Returns:
the propertyMappingType

getPropertyValue

public java.lang.String getPropertyValue()
Returns the propertyValue.

Returns:
the propertyValue

getPublishTag

public int getPublishTag()
Returns the publishTag.

Returns:
the publishTag

getStructureId

public java.lang.String getStructureId()
Returns the structureId.

Returns:
the structureId

setPropertyDefId

public void setPropertyDefId(java.lang.String propertyDefId)
Sets the propertyDefId.

Parameters:
propertyDefId - the propertyDefId to set

setPropertyMappingId

public void setPropertyMappingId(java.lang.String propertyMappingId)
Sets the propertyMappingId.

Parameters:
propertyMappingId - the propertyMappingId to set

setPropertyMappingType

public void setPropertyMappingType(int propertyMappingType)
Sets the propertyMappingType.

Parameters:
propertyMappingType - the propertyMappingType to set

setPropertyValue

public void setPropertyValue(java.lang.String propertyValue)
Sets the propertyValue.

Parameters:
propertyValue - the propertyValue to set

setPublishTag

public void setPublishTag(int publishTag)
Sets the publishTag.

Parameters:
publishTag - the publishTag to set

setStructureId

public void setStructureId(java.lang.String structureId)
Sets the structureId.

Parameters:
structureId - the structureId to set