hasSingleIdAttribute() - JPA IdentifiableType's method

Method
javax.persistence.metamodel.IdentifiableType
boolean hasSingleIdAttribute()

Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass.
Returns:
boolean indicating whether the identifiable type has a single id attribute
Since:
JPA 2.0