Class ContentSlotForPageRelationData
- java.lang.Object
-
- de.hybris.platform.cms2.version.converter.customattribute.CMSVersionCustomAttribute
-
- de.hybris.platform.cms2.version.converter.customattribute.data.ContentSlotForPageRelationData
-
public class ContentSlotForPageRelationData extends CMSVersionCustomAttribute
Data generator used for ContentSlotForPage relations.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cms2.version.converter.customattribute.CMSVersionCustomAttribute
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description ContentSlotForPageRelationData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKgetPk()java.lang.StringgetPosition()voidinit(java.lang.String value)Method to populate all attributes of the current class with data that is parsed from value.
The value is generated by toData() method.voidsetPk(PK pk)voidsetPosition(java.lang.String position)java.lang.StringtoData()Method to convert attributes of a class to a string.-
Methods inherited from class de.hybris.platform.cms2.version.converter.customattribute.CMSVersionCustomAttribute
getDelimiter, toString
-
-
-
-
Method Detail
-
toData
public java.lang.String toData()
Description copied from class:CMSVersionCustomAttributeMethod to convert attributes of a class to a string. For example, if the class has two attributes like
primaryKey and position, the implementation should look like- Specified by:
toDatain classCMSVersionCustomAttribute- Returns:
- the representation of an attribute in the form of a string.
-
init
public void init(java.lang.String value)
Description copied from class:CMSVersionCustomAttributeMethod to populate all attributes of the current class with data that is parsed from value.
The value is generated by toData() method.- Specified by:
initin classCMSVersionCustomAttribute- Parameters:
value- the value to parse.
-
getPosition
public java.lang.String getPosition()
-
setPosition
public void setPosition(java.lang.String position)
-
getPk
public PK getPk()
-
setPk
public void setPk(PK pk)
-
-