code: public NodeType[] getMixinNodeTypes() throws RepositoryException
     {
        checkValid();
  
        // should not be null
        if (nodeData().getMixinTypeNames() == null)
        {
           throw new RepositoryException("Data Container implementation error getMixinTypeNames == null");
        }
  
        ExtendedNodeTypeManager nodeTypeManager = (ExtendedNodeTypeManager)session.getWorkspace().getNodeTypeManager();
        NodeType[] mixinNodeTypes = new NodeType[nodeData().getMixinTypeNames().length];
        for (int i = 0; i < mixinNodeTypes.length; i++)
        {
           mixinNodeTypes[i] = nodeTypeManager.findNodeType(nodeData().getMixinTypeNames()[i]);
        }
  
        return mixinNodeTypes;
     }
docs: {@inheritDoc}