us.ihmc.scs2.definition.yoVariable.YoRegistryDefinition Maven / Gradle / Ivy
package us.ihmc.scs2.definition.yoVariable;
import us.ihmc.euclid.tools.EuclidCoreIOTools;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;
@XmlRootElement(name = "YoRegistry")
public class YoRegistryDefinition
{
private String name;
private List yoVariables;
private List yoRegistries;
public YoRegistryDefinition()
{
}
@XmlAttribute
public void setName(String name)
{
this.name = name;
}
@XmlElement
public void setYoVariables(List yoVariables)
{
this.yoVariables = yoVariables;
}
@XmlElement
public void setYoRegistries(List yoRegistries)
{
this.yoRegistries = yoRegistries;
}
public String getName()
{
return name;
}
public List getYoVariables()
{
return yoVariables;
}
public List getYoRegistries()
{
return yoRegistries;
}
@Override
public String toString()
{
return "name: " + name + ", yoVariables: " + EuclidCoreIOTools.getCollectionString("[", "]", ", ", yoVariables, YoVariableDefinition::getName)
+ ", yoRegistries: " + EuclidCoreIOTools.getCollectionString("[", "]", ", ", yoRegistries, YoRegistryDefinition::getName);
}
}