COMMONS-128 : Allow @MetaStoreElementType Java objects to be embedded or shared depending on a boolean attribute

Allow @MetaStoreElementType Java objects to be embedded or shared depending on a boolean attribute