All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sdl.dxa.modules.docs.mashup.models.widgets.DynamicWidget Maven / Gradle / Ivy

There is a newer version: 2.3.2
Show newest version
package com.sdl.dxa.modules.docs.mashup.models.widgets;

import com.sdl.webapp.common.api.mapping.semantic.annotations.SemanticEntity;
import com.sdl.webapp.common.api.mapping.semantic.annotations.SemanticMappingIgnore;
import com.sdl.webapp.common.api.mapping.semantic.annotations.SemanticProperty;
import com.sdl.webapp.common.api.model.entity.AbstractEntityModel;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@SemanticEntity(entityName = "DynamicWidget")
public class DynamicWidget extends AbstractEntityModel {

    @SemanticProperty("Keywords")
    private List keywords;

    @SemanticProperty("ProductViewModel")
    private String productViewModel;

    @SemanticProperty("DisplayContentAs")
    private String displayContentAs;

    @SemanticProperty("MaxNumberOfItemsToShow")
    private Integer maxItems;

    @SemanticMappingIgnore
    private List topics;

    public String getProductViewModel() {
        return productViewModel;
    }

    public void setProductViewModel(String productViewModel) {
        this.productViewModel = productViewModel;
    }

    public List getKeywords() {
        return keywords;
    }

    public void setKeywords(List keywords) {
        this.keywords = keywords;
    }

    public String getDisplayContentAs() {
        return displayContentAs;
    }

    public void setDisplayContentAs(String displayContentAs) {
        this.displayContentAs = displayContentAs;
    }

    public Integer getMaxItems() {
        return maxItems;
    }

    public void setMaxItems(Integer maxItems) {
        this.maxItems = maxItems;
    }

    public List getTopics() {
        return topics;
    }

    public void setTopics(List topics) {
        this.topics = topics;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy