com.sippnex.firemaw.FiremawDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firemaw-server Show documentation
Show all versions of firemaw-server Show documentation
Server-side Spring library for firemaw. A dynamic web entity manager
package com.sippnex.firemaw;
import java.util.ArrayList;
import java.util.List;
public class FiremawDto {
private List properties;
public List getProperties() {
return properties;
}
public void addProperty(FiremawPropertyClass property) {
this.properties.add(property);
}
public void addProperty(int index, FiremawPropertyClass property) {
this.properties.add(index, property);
}
public void addPropertyRange(List propertyRange) {
this.properties.addAll(propertyRange);
}
public void addPropertyRange(int index, List propertyRange) {
this.properties.addAll(index, propertyRange);
}
public FiremawDto() {
super();
this.properties = new ArrayList();
}
}