src.append(" {\n\n");
if (!Direction.None.equals(getProperty(permissionPropagation))) {
src.append("\tstatic {\n\t\tSchemaRelationshipNode.registerPropagatingRelationshipType(\"").append(getRelationshipType()).append("\");\n\t}\n\n");
}
src.append(SchemaHelper.extractProperties(this, propertyNames, validators, enums, viewProperties, errorBuffer));
<BUG>src.append(SchemaHelper.extractViews(this, viewProperties, errorBuffer));
src.append(SchemaHelper.extractMethods(this, actions));
src.append("\tpublic static final Property<java.lang.String> sourceIdProperty = new SourceId(\"sourceId\");\n");</BUG>
src.append("\tpublic static final Property<java.lang.String> targetIdProperty = new TargetId(\"targetId\");\n");
SchemaHelper.addPropertyToView(PropertyView.Ui, "sourceId", viewProperties);

src.append(" {\n\n");
if (!Direction.None.equals(getProperty(permissionPropagation))) {
src.append("\tstatic {\n\t\tSchemaRelationshipNode.registerPropagatingRelationshipType(\"").append(getRelationshipType()).append("\");\n\t}\n\n");
}
src.append(SchemaHelper.extractProperties(this, propertyNames, validators, enums, viewProperties, errorBuffer));
SchemaHelper.extractViews(this, viewProperties, errorBuffer);
SchemaHelper.extractMethods(this, actions);
src.append("\tpublic static final Property<java.lang.String> sourceIdProperty = new SourceId(\"sourceId\");\n");
src.append("\tpublic static final Property<java.lang.String> targetIdProperty = new TargetId(\"targetId\");\n");
SchemaHelper.addPropertyToView(PropertyView.Ui, "sourceId", viewProperties);
