}
}
public void writeExternal(ObjectOutput out) throws IOException {
ComponentWrap cw = new ComponentWrap(Component.ACCESS_PRIVATE,this);
Struct _this=new StructImpl();
Struct _var=new StructImpl();
// this scope (removing all UDFs)
Object member;
{
Iterator<Entry<Key, Object>> it = cw.entryIterator();
Entry<Key, Object> e;
while(it.hasNext()) {
e = it.next();
member = e.getValue();
if(member instanceof UDF)continue;
_this.setEL(e.getKey(), member);
}
}
// variables scope (removing all UDFs and key "this")
{
ComponentScope scope = getComponentScope();
Iterator<Entry<Key, Object>> it = scope.entryIterator();
Entry<Key, Object> e;
Key k;
while(it.hasNext()) {
e = it.next();
k = e.getKey();
if(KeyConstants._THIS.equalsIgnoreCase(k))continue;
member = e.getValue();
if(member instanceof UDF)continue;
_var.setEL(e.getKey(), member);
}
}
out.writeUTF(getAbsName());
out.writeUTF(ComponentUtil.md5(cw));