/*******************************************************************************
* Copyright (c) 2013 hangum.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
* hangum - initial API and implementation
******************************************************************************/
package com.hangum.tadpole.commons.libs.core.dao;
import java.util.ArrayList;
import java.util.List;
/**
* key value dao
*
* @author hangum
*
*/
public class KeyValueDAO {
String name;
String value;
List<KeyValueDAO> children = new ArrayList<KeyValueDAO>();
public KeyValueDAO(String name, String value) {
this.name = name;
this.value = value;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the value
*/
public String getValue() {
return value;
}
/**
* @param value the value to set
*/
public void setValue(String value) {
this.value = value;
}
/**
* @return the children
*/
public List<KeyValueDAO> getChildren() {
return children;
}
/**
* @param children the children to set
*/
public void setChildren(List<KeyValueDAO> children) {
this.children = children;
}
}