package org.whole.lang.commons.model.adapters;
import org.whole.lang.model.adapters.AbstractEntityAdapter;
import org.whole.lang.commons.model.*;
import org.whole.lang.model.IEntity;
import org.whole.lang.commons.visitors.ICommonsVisitor;
import org.whole.lang.reflect.EntityDescriptor;
import org.whole.lang.commons.reflect.CommonsEntityDescriptorEnum;
import org.whole.lang.commons.reflect.CommonsFeatureDescriptorEnum;
/**
* @generator Whole
*/
public class InlineVariableAdapter extends AbstractEntityAdapter implements InlineVariable {
private static final long serialVersionUID = 1;
public InlineVariableAdapter(IEntity implementor) {
super(implementor);
}
public InlineVariableAdapter() {
}
public void accept(ICommonsVisitor visitor) {
if (visitor.visitAdapter(this))
visitor.visit(this);
}
public EntityDescriptor<InlineVariable> wGetEntityDescriptor() {
return CommonsEntityDescriptorEnum.InlineVariable;
}
public VarType getVarType() {
return wGet(CommonsFeatureDescriptorEnum.varType).wGetAdapter(CommonsEntityDescriptorEnum.VarType);
}
public void setVarType(VarType varType) {
wSet(CommonsFeatureDescriptorEnum.varType, varType);
}
public VarName getVarName() {
return wGet(CommonsFeatureDescriptorEnum.varName).wGetAdapter(CommonsEntityDescriptorEnum.VarName);
}
public void setVarName(VarName varName) {
wSet(CommonsFeatureDescriptorEnum.varName, varName);
}
public Quantifier getQuantifier() {
return wGet(CommonsFeatureDescriptorEnum.quantifier).wGetAdapter(CommonsEntityDescriptorEnum.Quantifier);
}
public void setQuantifier(Quantifier quantifier) {
wSet(CommonsFeatureDescriptorEnum.quantifier, quantifier);
}
}