ObjectDB ObjectDB

isId() - JPA SingularAttribute's method

Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class.
boolean indicating whether the attribute is an id
JPA 2.0