code: private MembershipType readMembershipType(Node node) throws Exception
     {
        MembershipTypeImpl mt = new MembershipTypeImpl();
        mt.setName(node.getName().equals(JCROrganizationServiceImpl.JOS_MEMBERSHIP_TYPE_ANY) ? ANY_MEMBERSHIP_TYPE : node
           .getName());
        mt.setInternalId(node.getUUID());
        mt.setDescription(utils.readString(node, MembershipTypeProperties.JOS_DESCRIPTION));
        mt.setCreatedDate(utils.readDate(node, MembershipTypeProperties.EXO_DATE_CREATED));
        mt.setModifiedDate(utils.readDate(node, MembershipTypeProperties.EXO_DATE_MODIFIED));
  
        return mt;
     }
docs: Reads membership type from the node.
  
  @param node
  the node where membership type properties are stored