public class CMSComparisonTabComponentModel extends SimpleCMSComponentModel
It represents comparison tap component. Contains some additional attributes that are required to display comparison panel as a tab.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
COMPARISONPANEL
Generated constant - Attribute key of
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices. |
static String |
IMAGECOMPONENT
Generated constant - Attribute key of
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices. |
static String |
TITLE
Generated constant - Attribute key of
CMSComparisonTabComponent.title attribute defined at extension financialservices. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSComparisonTabComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSComparisonTabComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSComparisonTabComponentModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSComparisonTabComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
ComparisonPanelCMSComponentModel |
getComparisonPanel()
Generated method - Getter of the
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices. |
CMSImageComponentModel |
getImageComponent()
Generated method - Getter of the
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices. |
String |
getTitle()
Generated method - Getter of the
CMSComparisonTabComponent.title attribute defined at extension financialservices. |
String |
getTitle(Locale loc)
Generated method - Getter of the
CMSComparisonTabComponent.title attribute defined at extension financialservices. |
void |
setComparisonPanel(ComparisonPanelCMSComponentModel value)
Generated method - Setter of
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices. |
void |
setImageComponent(CMSImageComponentModel value)
Generated method - Setter of
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices. |
void |
setTitle(String value)
Generated method - Setter of
CMSComparisonTabComponent.title attribute defined at extension financialservices. |
void |
setTitle(String value,
Locale loc)
Generated method - Setter of
CMSComparisonTabComponent.title attribute defined at extension financialservices. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String TITLE
CMSComparisonTabComponent.title attribute defined at extension financialservices.public static final String COMPARISONPANEL
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices.public static final String IMAGECOMPONENT
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices.public CMSComparisonTabComponentModel()
public CMSComparisonTabComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSComparisonTabComponentModel(CatalogVersionModel _catalogVersion, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSComparisonTabComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="comparisonPanel", type=GETTER) public ComparisonPanelCMSComponentModel getComparisonPanel()
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices.@Accessor(qualifier="imageComponent", type=GETTER) public CMSImageComponentModel getImageComponent()
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices.@Accessor(qualifier="title", type=GETTER) public String getTitle()
CMSComparisonTabComponent.title attribute defined at extension financialservices.@Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
CMSComparisonTabComponent.title attribute defined at extension financialservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="comparisonPanel", type=SETTER) public void setComparisonPanel(ComparisonPanelCMSComponentModel value)
CMSComparisonTabComponent.comparisonPanel attribute defined at extension financialservices.value - the comparisonPanel - Attribute that represents the comparison panel.@Accessor(qualifier="imageComponent", type=SETTER) public void setImageComponent(CMSImageComponentModel value)
CMSComparisonTabComponent.imageComponent attribute defined at extension financialservices.value - the imageComponent - Attribute that represents the Image component.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
CMSComparisonTabComponent.title attribute defined at extension financialservices.value - the title - Attribute that represents title of the tab.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
CMSComparisonTabComponent.title attribute defined at extension financialservices.value - the title - Attribute that represents title of the tab.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.