hasIdAttribute

public boolean hasIdAttribute()

hasSingleIdAttribute

public boolean hasSingleIdAttribute()

Whether or not the identifiable type uses an attribute to represents its persistent identity.
Returns true for a simple or embedded identifier.
Returns false for an classes that use separate identifier class for its persistent identity.