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

com.sdl.webapp.tridion.xpm.XpmRegionImpl Maven / Gradle / Ivy

package com.sdl.webapp.tridion.xpm;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sdl.webapp.common.api.xpm.ComponentType;
import com.sdl.webapp.common.api.xpm.OccurrenceConstraint;
import com.sdl.webapp.common.api.xpm.XpmRegion;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
/**
 * 

XpmRegionImpl class.

*/ public class XpmRegionImpl implements XpmRegion { @JsonProperty(value = "Region", required = true) private String regionName; @JsonProperty(value = "ComponentTypes", required = true) private List componentTypes; @JsonProperty(value = "OccurrenceConstraint", required = false) private OccurrenceConstraint occurrenceConstraint; public XpmRegionImpl() { } /** * {@inheritDoc} */ @Override public String getRegionName() { return regionName; } /** * {@inheritDoc} */ @Override public void setRegionName(String regionName) { this.regionName = regionName; } /** {@inheritDoc} */ @Override public List getComponentTypes() { return componentTypes; } /** {@inheritDoc} */ @Override public void setComponentTypes(List componentTypes) { this.componentTypes = componentTypes; } /** {@inheritDoc} */ @Override public OccurrenceConstraint getOccurrenceConstraint() { return occurrenceConstraint; } /** {@inheritDoc} */ @Override public void setOccurrenceConstraint(OccurrenceConstraint occurrenceConstraint) { this.occurrenceConstraint = occurrenceConstraint; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy