HHH-5879 Open Core ComponentType metamodel

Add a getter to isKey
This commit is contained in:
Emmanuel Bernard 2011-01-28 12:33:29 -06:00 committed by JPAV
parent de7ce17f35
commit ab0e173f0e
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ public class ComponentType extends AbstractType implements CompositeType {
this.tuplizerMapping = metamodel.getTuplizerMapping();
}
public boolean isKey() {
return isKey;
}
public EntityModeToTuplizerMapping getTuplizerMapping() {
return tuplizerMapping;
}