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.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;
/**
* {@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;
}
}