AbstractContext context = ContextDelegator.getInstance();
if(context.getContextId()==null)
new GlobalObject(this, ((AbstractDistinguishable)this).getId()); // publish it now
else
context.newObject(this); // add it to context publish-set
}
public void setRightChild(String rightId){
this.rightId = rightId;
}