code: public Iterable<Attribute> getOwnAttributes() {
      return stream(getOwnAllAttributes()).filter(attr -> attr.getParent() == null).collect(toList());
    }
docs: Same as {@link #getAttributes()} but does not return attributes of its parent class.
  
  @return entity attributes without extended entity attributes