hasName()

Determines if the name of the attribute matches the name passed in as a parameter.

Syntax

public boolean hasName(String name);
 

Parameters

name
Is the name of the attribute passed in to the method.

Return values

Returns True if the attribute name matches the passed-in name; otherwise, returns False.

Copyright IBM Corp. 1997, 2004