private Type type;
public Attribute build() throws BuilderException, NotInTheDomainException{
if(name == null || XTTClass == null || type == null){
throw new BuilderException("Error while building Attribute ("+name+"). Name, class, or type was not defined.");
}else{
return new Attribute(this);
}
}