public MappedSuperclass<EntityMappings<T>> getOrCreateMappedSuperclass()
   {
      List<Node> nodeList = childNode.get("mapped-superclass");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new MappedSuperclassImpl<EntityMappings<T>>(this, "mapped-superclass", childNode, nodeList.get(0));
      }
      return createMappedSuperclass();
   }
public MappedSuperclass < EntityMappings < T > > getOrCreateMappedSuperclass ( ) { List < Node > nodeList = childNode . get ( "mapped-superclass" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new MappedSuperclassImpl < EntityMappings < T > > ( this , "mapped-superclass" , childNode , nodeList . get ( 0 ) ) ; } return createMappedSuperclass ( ) ; }
If not already created, a new <code>mapped-superclass</code> element will be created and returned.
Otherwise, the first existing <code>mapped-superclass</code> element will be returned.
@return the instance defined for the element <code>mapped-superclass</code>