com.emc.vipr.model.catalog.ServiceFieldTableRestRep Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.vipr.model.catalog;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "service_field_table")
public class ServiceFieldTableRestRep extends ServiceItemRestRep implements ServiceItemContainerRestRep {
private List items;
@XmlElementWrapper(name = "items")
@XmlElements({
@XmlElement(name = "field", type = ServiceFieldRestRep.class)
})
public List getItems() {
if (items == null) {
items = new ArrayList<>();
}
return items;
}
public void setItems(List items) {
this.items = items;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy