isOptional() - JPA SingularAttribute's method
Method javax.persistence.metamodel.SingularAttribute
boolean isOptional()
- Returns:
- boolean indicating whether the attribute can be null
- Since:
- JPA 2.0