package org.whole.lang.xsd.model.adapters;
import org.whole.lang.model.adapters.AbstractEntityAdapter;
import org.whole.lang.xsd.model.*;
import org.whole.lang.model.IEntity;
import org.whole.lang.xsd.visitors.IXsdVisitor;
import org.whole.lang.reflect.EntityDescriptor;
import org.whole.lang.xsd.reflect.XsdEntityDescriptorEnum;
/**
* @generator Whole
*/
public class BoundedAdapter extends AbstractEntityAdapter implements Bounded {
private static final long serialVersionUID = 1;
public BoundedAdapter(IEntity implementor) {
super(implementor);
}
public BoundedAdapter() {
}
public void accept(IXsdVisitor visitor) {
if (visitor.visitAdapter(this))
visitor.visit(this);
}
public EntityDescriptor<Bounded> wGetEntityDescriptor() {
return XsdEntityDescriptorEnum.Bounded;
}
public int getValue() {
return wIntValue();
}
public void setValue(int value) {
wSetValue(value);
}
}