protected Set<EntityPropertyInfo> getSuperclassEntityPropertyInfo() {
    Set<EntityPropertyInfo> results = new HashSet<EntityPropertyInfo>();
    if (superclass == null) {
      return results;
    }
    for (Class<?> clazz = superclass; clazz != Object.class; clazz = clazz.getSuperclass()) {
      Entity entity = clazz.getAnnotation(Entity.class);
      if (entity == null) {
        continue;
      }
      org.seasar.doma.jdbc.entity.NamingType namingType = entity.naming();
      for (Field field : clazz.getDeclaredFields()) {
        int m = field.getModifiers();
        if (Modifier.isStatic(m)) {
          continue;
        }
        if (field.isAnnotationPresent(Transient.class)) {
          continue;
        }
        EntityPropertyInfo propertyInfo = new EntityPropertyInfo();
        propertyInfo.entityClass = clazz;
        propertyInfo.propertyField = field;
        Column column = field.getAnnotation(Column.class);
        propertyInfo.column = column;
        if (column == null || column.name().isEmpty()) {
          propertyInfo.columnName = namingType.apply(field.getName()).toLowerCase();
        } else {
          propertyInfo.columnName = column.name();
        }
        propertyInfo.id = field.getAnnotation(Id.class);
        propertyInfo.generatedValue = field.getAnnotation(GeneratedValue.class);
        propertyInfo.sequenceGenerator = field.getAnnotation(SequenceGenerator.class);
        propertyInfo.tableGenerator = field.getAnnotation(TableGenerator.class);
        propertyInfo.version = field.getAnnotation(Version.class);
        results.add(propertyInfo);
      }
    }
    return results;
  }
protected Set < EntityPropertyInfo > getSuperclassEntityPropertyInfo ( ) { Set < EntityPropertyInfo > results = new HashSet < EntityPropertyInfo > ( ) ; if ( superclass == null ) { return results ; } for ( Class < ? > clazz = superclass ; clazz != Object . class ; clazz = clazz . getSuperclass ( ) ) { Entity entity = clazz . getAnnotation ( Entity . class ) ; if ( entity == null ) { continue ; } org . seasar . doma . jdbc . entity . NamingType namingType = entity . naming ( ) ; for ( Field field : clazz . getDeclaredFields ( ) ) { int m = field . getModifiers ( ) ; if ( Modifier . isStatic ( m ) ) { continue ; } if ( field . isAnnotationPresent ( Transient . class ) ) { continue ; } EntityPropertyInfo propertyInfo = new EntityPropertyInfo ( ) ; propertyInfo . entityClass = clazz ; propertyInfo . propertyField = field ; Column column = field . getAnnotation ( Column . class ) ; propertyInfo . column = column ; if ( column == null || column . name ( ) . isEmpty ( ) ) { propertyInfo . columnName = namingType . apply ( field . getName ( ) ) . toLowerCase ( ) ; } else { propertyInfo . columnName = column . name ( ) ; } propertyInfo . id = field . getAnnotation ( Id . class ) ; propertyInfo . generatedValue = field . getAnnotation ( GeneratedValue . class ) ; propertyInfo . sequenceGenerator = field . getAnnotation ( SequenceGenerator . class ) ; propertyInfo . tableGenerator = field . getAnnotation ( TableGenerator . class ) ; propertyInfo . version = field . getAnnotation ( Version . class ) ; results . add ( propertyInfo ) ; } } return results ; }
スーパークラスに定義されたエンティティプロパティの情報のセットを返します。

@return スーパークラスに定義されたエンティティプロパティの情報のセット
@since 1.7.0