hedera-web/js/sql/holder.js

26 lines
314 B
JavaScript
Raw Normal View History

/**
* A holder for another object.
**/
Sql.Holder = new Class
({
Extends: Sql.Object
,Properties:
{
id:
{
type: String
,value: null
}
}
,render: function (batch)
{
var object;
if (batch && (object = batch.get (this.id)))
return object.render (batch);
return '#'+ this.id;
}
});