/**
* $Id$
* $Date$
*
*/
package org.xmlsh.core;
import java.util.EnumSet;
public abstract class XDynamicVariable extends XVariable {
public XDynamicVariable(String name, EnumSet<XVarFlag> flags) {
super(name, flags);
// TODO Auto-generated constructor stub
}
/* (non-Javadoc)
* @see org.xmlsh.core.XVariable#getValue()
*/
@Override
public abstract XValue getValue();
/* (non-Javadoc)
* @see org.xmlsh.core.XVariable#setValue(org.xmlsh.core.XValue)
*/
@Override
public void setValue(XValue value) throws InvalidArgumentException {
throw new InvalidArgumentException("Cannot set value of variable: " + getName() );
}
}