class ActiveLdap::Schema::Entry

def <=>(other)

def <=>(other)
  name <=> other.name
end

def eql?(other)

def eql?(other)
  self.class == other.class and
    (id == other.id or
     (id.nil? and other.nil? and name == other.name))
end

def hash

def hash
  id.nil? ? name.hash : id.hash
end

def initialize(name, schema, group)

def initialize(name, schema, group)
  @schema = schema
  @name, *@aliases = attribute("NAME", name)
  @name ||= name
  @id = @schema.resolve_name(group, @name)
  collect_info
  @schema = nil
end

def to_param

def to_param
  name
end