getMetadata().getAttributes().getManyToOnes().add(manyToOne.getMetadata());
return manyToOne;
}
public OneToMany addOneToMany() {
OneToManyImpl oneToMany = new OneToManyImpl();
getMetadata().getAttributes().getOneToManys().add(oneToMany.getMetadata());
return oneToMany;
}