Ejemplo n.º 1
0
func (this *Association) HashCode() int {
	if this.hash == 0 {
		result := tk.HashType(tk.HASH_SEED, this)
		this.hash = result
	}

	return this.hash
}
Ejemplo n.º 2
0
func (this *ColumnHolder) HashCode() int {
	if this.hash == 0 {
		result := tk.HashType(tk.HASH_SEED, this)
		this.hash = result
	}

	return this.hash
}
Ejemplo n.º 3
0
func (this *Column) HashCode() int {
	if this.hash == 0 {
		result := tk.HashType(tk.HASH_SEED, this)
		result = tk.HashString(result, this.table.String()+"."+this.name)
		this.hash = result
	}

	return this.hash
}
Ejemplo n.º 4
0
func (this *Token) HashCode() int {
	if this.hash == 0 {
		result := tk.HashType(tk.HASH_SEED, this)
		result = tk.HashString(result, this.Operator)
		result = tk.HashString(result, this.Alias)
		result = tk.Hash(result, this.Members)
		this.hash = result
	}

	return this.hash
}
Ejemplo n.º 5
0
func (this *Board) HashCode() int {
	result := toolkit.HashType(toolkit.HASH_SEED, this)
	result = toolkit.HashLong(result, ext.DefInt64(this.Id, 0))
	return result
}
Ejemplo n.º 6
0
func (this *Publisher) HashCode() int {
	result := tk.HashType(tk.HASH_SEED, this)
	result = tk.HashLong(result, DefInt64(this.Id, 0))
	return result
}