getDeclaredAttributes() - JPA ManagedType's method

Method
javax.persistence.metamodel.ManagedType
Set<Attribute<X,?>> getDeclaredAttributes()

Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes.
Returns:
declared attributes of the managed type
Since:
JPA 2.0